<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Win32k: sftkbdc1.c 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Win32k
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('a00317.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">宏定义</a> &#124;
<a href="#func-members">函数</a> &#124;
<a href="#var-members">变量</a>  </div>
  <div class="headertitle">
<div class="title">sftkbdc1.c 文件参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="a03623_source.html">precomp.h</a>&quot;</code><br />
</div>
<p><a href="a00317_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:a21386e36a5216c933d8d26c61f60dcac"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00317.html#a21386e36a5216c933d8d26c61f60dcac">BACKSP_BMP</a>&#160;&#160;&#160;L&quot;BACKSP_C1&quot;</td></tr>
<tr class="separator:a21386e36a5216c933d8d26c61f60dcac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abaa93a2ac16d58d8a1d0625d29dbc999"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00317.html#abaa93a2ac16d58d8a1d0625d29dbc999">TAB_BMP</a>&#160;&#160;&#160;L&quot;TAB_C1&quot;</td></tr>
<tr class="separator:abaa93a2ac16d58d8a1d0625d29dbc999"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99e47ab08f9b70f90043dd2f35996599"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00317.html#a99e47ab08f9b70f90043dd2f35996599">CAPS_BMP</a>&#160;&#160;&#160;L&quot;CAPS_C1&quot;</td></tr>
<tr class="separator:a99e47ab08f9b70f90043dd2f35996599"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5eb929d066799bfe6b571a2e4d30d08"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00317.html#ae5eb929d066799bfe6b571a2e4d30d08">ENTER_BMP</a>&#160;&#160;&#160;L&quot;ENTER_C1&quot;</td></tr>
<tr class="separator:ae5eb929d066799bfe6b571a2e4d30d08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60a2fca89736bbe4810a08e2ca5f1667"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00317.html#a60a2fca89736bbe4810a08e2ca5f1667">SHIFT_BMP</a>&#160;&#160;&#160;L&quot;SHIFT_C1&quot;</td></tr>
<tr class="separator:a60a2fca89736bbe4810a08e2ca5f1667"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3538869e2bdfe09e97fee791d182f9d8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00317.html#a3538869e2bdfe09e97fee791d182f9d8">INS_BMP</a>&#160;&#160;&#160;L&quot;INS_C1&quot;</td></tr>
<tr class="separator:a3538869e2bdfe09e97fee791d182f9d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afeece006936ac6045b9fbf85f4ebc47f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00317.html#afeece006936ac6045b9fbf85f4ebc47f">DEL_BMP</a>&#160;&#160;&#160;L&quot;DEL_C1&quot;</td></tr>
<tr class="separator:afeece006936ac6045b9fbf85f4ebc47f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac81cf3a0ae8e54175ae79d170fda5d15"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00317.html#ac81cf3a0ae8e54175ae79d170fda5d15">ESC_BMP</a>&#160;&#160;&#160;L&quot;ESC_C1&quot;</td></tr>
<tr class="separator:ac81cf3a0ae8e54175ae79d170fda5d15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2db52f1ea0525600d67bce674b83523e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00317.html#a2db52f1ea0525600d67bce674b83523e">LABEL_BMP</a>&#160;&#160;&#160;L&quot;LABEL_C1&quot;</td></tr>
<tr class="separator:a2db52f1ea0525600d67bce674b83523e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:a02c6899d361cf1e7ac61d4854a56db79"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00317.html#a02c6899d361cf1e7ac61d4854a56db79">InitSKC1ButtonPos</a> ()</td></tr>
<tr class="separator:a02c6899d361cf1e7ac61d4854a56db79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad614fab6483568c6d38d6dcd156fc07"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00317.html#aad614fab6483568c6d38d6dcd156fc07">SKC1DrawConvexRect</a> (HDC hDC, int x, int y, int nWidth, int nHeight)</td></tr>
<tr class="separator:aad614fab6483568c6d38d6dcd156fc07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2cd6e519efe87dd6ec991185300d4c64"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00317.html#a2cd6e519efe87dd6ec991185300d4c64">SKC1InvertButton</a> (HDC hDC, int uKeyIndex)</td></tr>
<tr class="separator:a2cd6e519efe87dd6ec991185300d4c64"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b25049792b93cc458c3c451fa6a32db"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00317.html#a9b25049792b93cc458c3c451fa6a32db">SKC1DrawBitmap</a> (HDC hDC, int x, int y, int nWidth, int nHeight, LPWSTR lpszBitmap)</td></tr>
<tr class="separator:a9b25049792b93cc458c3c451fa6a32db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e4f44ac47f032b3e91c9db3138de24d"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00317.html#a1e4f44ac47f032b3e91c9db3138de24d">SKC1DrawLabel</a> (HDC hDC, LPWSTR lpszLabel)</td></tr>
<tr class="separator:a1e4f44ac47f032b3e91c9db3138de24d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a324c96b69ecd47db7e05a3dd6b3600b2"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00317.html#a324c96b69ecd47db7e05a3dd6b3600b2">InitSKC1Bitmap</a> (HDC hDC, RECT rcClient)</td></tr>
<tr class="separator:a324c96b69ecd47db7e05a3dd6b3600b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf0fa3176e4d8fa6ca9873c4f3ef75c4"><td class="memItemLeft" align="right" valign="top">LRESULT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00317.html#abf0fa3176e4d8fa6ca9873c4f3ef75c4">CreateC1Window</a> (HWND hSKWnd)</td></tr>
<tr class="separator:abf0fa3176e4d8fa6ca9873c4f3ef75c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7516c744598aeee45d0d4790a85dbdc8"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00317.html#a7516c744598aeee45d0d4790a85dbdc8">DestroyC1Window</a> (HWND hSKWnd)</td></tr>
<tr class="separator:a7516c744598aeee45d0d4790a85dbdc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e0bf1f4c79f156def43154167f6cf1e"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00317.html#a6e0bf1f4c79f156def43154167f6cf1e">ShowSKC1Window</a> (HDC hDC, HWND hSKWnd)</td></tr>
<tr class="separator:a6e0bf1f4c79f156def43154167f6cf1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeedd744cca271941363fd1c86033a527"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00317.html#aeedd744cca271941363fd1c86033a527">UpdateSKC1Window</a> (HWND hSKWnd, LPSOFTKBDDATA lpSoftKbdData)</td></tr>
<tr class="separator:aeedd744cca271941363fd1c86033a527"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a765ff7b44dcaa170f5d1ad8800ea525f"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00317.html#a765ff7b44dcaa170f5d1ad8800ea525f">SKC1DrawDragBorder</a> (HWND hWnd, LPPOINT lpptCursor, LPPOINT lpptOffset)</td></tr>
<tr class="separator:a765ff7b44dcaa170f5d1ad8800ea525f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69dff57edf1b5c8e33c21e2c65fe21d6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00953.html#a392e62da233ed3e2f7c3fd4f487a3896">INT</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00317.html#a69dff57edf1b5c8e33c21e2c65fe21d6">SKC1MousePosition</a> (LPPOINT lpptCursor)</td></tr>
<tr class="separator:a69dff57edf1b5c8e33c21e2c65fe21d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada1e88a7d9cd772a74bbee49712f456d"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00317.html#ada1e88a7d9cd772a74bbee49712f456d">SKC1ButtonDown</a> (HWND hSKWnd, <a class="el" href="a00326.html#a440a5d5f45262a6e01c296aacbc72fcd">PSKC1CTXT</a> pSKC1Ctxt)</td></tr>
<tr class="separator:ada1e88a7d9cd772a74bbee49712f456d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9dba611529a7f969cd0223fe2e378b40"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00317.html#a9dba611529a7f969cd0223fe2e378b40">SKC1SetCursor</a> (HWND hSKWnd, LPARAM lParam)</td></tr>
<tr class="separator:a9dba611529a7f969cd0223fe2e378b40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe3bc581a766cbb9f687bef72dacef16"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00317.html#abe3bc581a766cbb9f687bef72dacef16">SKC1MouseMove</a> (HWND hSKWnd, WPARAM wParam, LPARAM lParam)</td></tr>
<tr class="separator:abe3bc581a766cbb9f687bef72dacef16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9b2b7d016a96a84df6484587b3b9c2b"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00317.html#ab9b2b7d016a96a84df6484587b3b9c2b">SKC1ButtonUp</a> (HWND hSKWnd, WPARAM wParam, LPARAM lParam)</td></tr>
<tr class="separator:ab9b2b7d016a96a84df6484587b3b9c2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a56ffb35ca58166a7cce756548b6b82da"><td class="memItemLeft" align="right" valign="top">LRESULT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00317.html#a56ffb35ca58166a7cce756548b6b82da">SKWndProcC1</a> (HWND hSKWnd, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> uMsg, WPARAM wParam, LPARAM lParam)</td></tr>
<tr class="separator:a56ffb35ca58166a7cce756548b6b82da"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
变量</h2></td></tr>
<tr class="memitem:aa5e006e36ac3a8a9f77f5d16709b3d51"><td class="memItemLeft" align="right" valign="top">BYTE&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00317.html#aa5e006e36ac3a8a9f77f5d16709b3d51">SKC1VirtKey</a> [<a class="el" href="a00326.html#a54ded9f276af31de505e1c43b3875dd2">BUTTON_NUM_C1</a>]</td></tr>
<tr class="separator:aa5e006e36ac3a8a9f77f5d16709b3d51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a112d17e443be80ce091d2ab4ae00f3d8"><td class="memItemLeft" align="right" valign="top">POINT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a> [<a class="el" href="a00326.html#a54ded9f276af31de505e1c43b3875dd2">BUTTON_NUM_C1</a>]</td></tr>
<tr class="separator:a112d17e443be80ce091d2ab4ae00f3d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65a756694c3b4f9cf62274909e10c320"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00317.html#a65a756694c3b4f9cf62274909e10c320">gfInit</a> = FALSE</td></tr>
<tr class="separator:a65a756694c3b4f9cf62274909e10c320"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">宏定义说明</h2>
<a id="a21386e36a5216c933d8d26c61f60dcac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a21386e36a5216c933d8d26c61f60dcac">&#9670;&nbsp;</a></span>BACKSP_BMP</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BACKSP_BMP&#160;&#160;&#160;L&quot;BACKSP_C1&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00317_source.html">sftkbdc1.c</a> 第 <a class="el" href="a00317_source.html#l00016">16</a> 行定义.</p>

</div>
</div>
<a id="a99e47ab08f9b70f90043dd2f35996599"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a99e47ab08f9b70f90043dd2f35996599">&#9670;&nbsp;</a></span>CAPS_BMP</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CAPS_BMP&#160;&#160;&#160;L&quot;CAPS_C1&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00317_source.html">sftkbdc1.c</a> 第 <a class="el" href="a00317_source.html#l00018">18</a> 行定义.</p>

</div>
</div>
<a id="afeece006936ac6045b9fbf85f4ebc47f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afeece006936ac6045b9fbf85f4ebc47f">&#9670;&nbsp;</a></span>DEL_BMP</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DEL_BMP&#160;&#160;&#160;L&quot;DEL_C1&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00317_source.html">sftkbdc1.c</a> 第 <a class="el" href="a00317_source.html#l00022">22</a> 行定义.</p>

</div>
</div>
<a id="ae5eb929d066799bfe6b571a2e4d30d08"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae5eb929d066799bfe6b571a2e4d30d08">&#9670;&nbsp;</a></span>ENTER_BMP</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ENTER_BMP&#160;&#160;&#160;L&quot;ENTER_C1&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00317_source.html">sftkbdc1.c</a> 第 <a class="el" href="a00317_source.html#l00019">19</a> 行定义.</p>

</div>
</div>
<a id="ac81cf3a0ae8e54175ae79d170fda5d15"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac81cf3a0ae8e54175ae79d170fda5d15">&#9670;&nbsp;</a></span>ESC_BMP</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ESC_BMP&#160;&#160;&#160;L&quot;ESC_C1&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00317_source.html">sftkbdc1.c</a> 第 <a class="el" href="a00317_source.html#l00023">23</a> 行定义.</p>

</div>
</div>
<a id="a3538869e2bdfe09e97fee791d182f9d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3538869e2bdfe09e97fee791d182f9d8">&#9670;&nbsp;</a></span>INS_BMP</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INS_BMP&#160;&#160;&#160;L&quot;INS_C1&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00317_source.html">sftkbdc1.c</a> 第 <a class="el" href="a00317_source.html#l00021">21</a> 行定义.</p>

</div>
</div>
<a id="a2db52f1ea0525600d67bce674b83523e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2db52f1ea0525600d67bce674b83523e">&#9670;&nbsp;</a></span>LABEL_BMP</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LABEL_BMP&#160;&#160;&#160;L&quot;LABEL_C1&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00317_source.html">sftkbdc1.c</a> 第 <a class="el" href="a00317_source.html#l00024">24</a> 行定义.</p>

</div>
</div>
<a id="a60a2fca89736bbe4810a08e2ca5f1667"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a60a2fca89736bbe4810a08e2ca5f1667">&#9670;&nbsp;</a></span>SHIFT_BMP</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SHIFT_BMP&#160;&#160;&#160;L&quot;SHIFT_C1&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00317_source.html">sftkbdc1.c</a> 第 <a class="el" href="a00317_source.html#l00020">20</a> 行定义.</p>

</div>
</div>
<a id="abaa93a2ac16d58d8a1d0625d29dbc999"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abaa93a2ac16d58d8a1d0625d29dbc999">&#9670;&nbsp;</a></span>TAB_BMP</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TAB_BMP&#160;&#160;&#160;L&quot;TAB_C1&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00317_source.html">sftkbdc1.c</a> 第 <a class="el" href="a00317_source.html#l00017">17</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">函数说明</h2>
<a id="abf0fa3176e4d8fa6ca9873c4f3ef75c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abf0fa3176e4d8fa6ca9873c4f3ef75c4">&#9670;&nbsp;</a></span>CreateC1Window()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LRESULT CreateC1Window </td>
          <td>(</td>
          <td class="paramtype">HWND&#160;</td>
          <td class="paramname"><em>hSKWnd</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00317_source.html">sftkbdc1.c</a> 第 <a class="el" href="a00317_source.html#l00352">352</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;{</div>
<div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;    HGLOBAL   hSKC1Ctxt;</div>
<div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;    <a class="code" href="a01989.html">PSKC1CTXT</a> pSKC1Ctxt;</div>
<div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160; </div>
<div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;    <span class="comment">// alloc and lock hSKC1CTxt</span></div>
<div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;    hSKC1Ctxt = GlobalAlloc(GHND, <span class="keyword">sizeof</span>(<a class="code" href="a01989.html">SKC1CTXT</a>));</div>
<div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;    <span class="keywordflow">if</span> (!hSKC1Ctxt) {</div>
<div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;        <span class="keywordflow">return</span> (-1L);</div>
<div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;    }</div>
<div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160; </div>
<div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;    pSKC1Ctxt = (<a class="code" href="a00326.html#a440a5d5f45262a6e01c296aacbc72fcd">PSKC1CTXT</a>)GlobalLock(hSKC1Ctxt);</div>
<div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;    <span class="keywordflow">if</span> (!pSKC1Ctxt) {</div>
<div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;        GlobalFree(hSKC1Ctxt);</div>
<div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;        <span class="keywordflow">return</span> (-1L);</div>
<div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;    }</div>
<div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160; </div>
<div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;    <span class="comment">// save handle in SKC1_CONTEXT</span></div>
<div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;    SetWindowLong(hSKWnd, <a class="code" href="a00326.html#ae1373879262ab41a35d20c2e9a05be93">SKC1_CONTEXT</a>, (LONG)hSKC1Ctxt);</div>
<div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160; </div>
<div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;    <span class="comment">// init global varialbles</span></div>
<div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;    <span class="keywordflow">if</span> (!<a class="code" href="a00317.html#a65a756694c3b4f9cf62274909e10c320">gfInit</a>){</div>
<div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;      <a class="code" href="a00317.html#a02c6899d361cf1e7ac61d4854a56db79">InitSKC1ButtonPos</a>();</div>
<div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;      <a class="code" href="a00317.html#a65a756694c3b4f9cf62274909e10c320">gfInit</a> = TRUE;</div>
<div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;    }</div>
<div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160; </div>
<div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;    <span class="comment">// no index and default char set</span></div>
<div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;    pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a41ab4504400fe8702ae95ed0a4dec8a5">uKeyIndex</a> = -1;</div>
<div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;    pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a2a81d7b491fb3bd4c752c494a9d870de">lfCharSet</a> = DEFAULT_CHARSET;</div>
<div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160; </div>
<div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;    <span class="comment">// init softkeyboard</span></div>
<div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;    {</div>
<div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;      HDC        hDC, hMemDC;</div>
<div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160;      HBITMAP    hBitmap, hOldBmp;</div>
<div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;      RECT       rcClient;</div>
<div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160; </div>
<div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;      <a class="code" href="a03743.html#a45668f73deb77bee5ef8243d47024212">GetClientRect</a>(hSKWnd, &amp;rcClient);</div>
<div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160; </div>
<div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;      hDC = GetDC(hSKWnd);</div>
<div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;      hMemDC = CreateCompatibleDC(hDC);</div>
<div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;      hBitmap = CreateCompatibleBitmap(hDC, rcClient.right - rcClient.left,</div>
<div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;                                       rcClient.bottom - rcClient.top);</div>
<div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;      <a class="code" href="a00026.html#ae35231899b6d8b4a5e8d23b23b458104">ReleaseDC</a>(hSKWnd, hDC);</div>
<div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160; </div>
<div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;      hOldBmp = SelectObject(hMemDC, hBitmap);</div>
<div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160; </div>
<div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;      <a class="code" href="a00317.html#a324c96b69ecd47db7e05a3dd6b3600b2">InitSKC1Bitmap</a>(hMemDC, rcClient);</div>
<div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160; </div>
<div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;      SelectObject(hMemDC, hOldBmp);</div>
<div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160;      pSKC1Ctxt-&gt;<a class="code" href="a01989.html#ad3f03c31eccbe1588a4a42c3042c873b">hSoftkbd</a> = hBitmap; <span class="comment">// save hBitmap in SKC1CTXT</span></div>
<div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160; </div>
<div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;      DeleteDC(hMemDC);</div>
<div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;    }</div>
<div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160; </div>
<div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;    <span class="comment">// unlock hSKC1CTxt</span></div>
<div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;    GlobalUnlock(hSKC1Ctxt);</div>
<div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160; </div>
<div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;    <span class="keywordflow">return</span> (0L);</div>
<div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a03743_source.html#l00731">GetClientRect()</a>, <a class="el" href="a00317_source.html#l00037">gfInit</a>, <a class="el" href="a00326_source.html#l00158">_tagSKC1CTXT::hSoftkbd</a>, <a class="el" href="a00317_source.html#l00279">InitSKC1Bitmap()</a>, <a class="el" href="a00317_source.html#l00043">InitSKC1ButtonPos()</a>, <a class="el" href="a00326_source.html#l00163">_tagSKC1CTXT::lfCharSet</a>, <a class="el" href="a00026_source.html#l00885">ReleaseDC()</a>, <a class="el" href="a00326_source.html#l00148">SKC1_CONTEXT</a> , 以及 <a class="el" href="a00326_source.html#l00160">_tagSKC1CTXT::uKeyIndex</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00317_source.html#l01106">SKWndProcC1()</a>.</p>

</div>
</div>
<a id="a7516c744598aeee45d0d4790a85dbdc8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7516c744598aeee45d0d4790a85dbdc8">&#9670;&nbsp;</a></span>DestroyC1Window()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID DestroyC1Window </td>
          <td>(</td>
          <td class="paramtype">HWND&#160;</td>
          <td class="paramname"><em>hSKWnd</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00317_source.html">sftkbdc1.c</a> 第 <a class="el" href="a00317_source.html#l00420">420</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;{</div>
<div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;    HGLOBAL   hSKC1Ctxt;</div>
<div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;    <a class="code" href="a01989.html">PSKC1CTXT</a> pSKC1Ctxt;</div>
<div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;    HWND      hUIWnd;</div>
<div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160; </div>
<div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;    <span class="comment">// Get and Lock hSKC1Ctxt</span></div>
<div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;    hSKC1Ctxt = (HGLOBAL)GetWindowLong(hSKWnd, <a class="code" href="a00326.html#ae1373879262ab41a35d20c2e9a05be93">SKC1_CONTEXT</a>);</div>
<div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;    <span class="keywordflow">if</span> (!hSKC1Ctxt) <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160; </div>
<div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;    pSKC1Ctxt = (<a class="code" href="a00326.html#a440a5d5f45262a6e01c296aacbc72fcd">PSKC1CTXT</a>)GlobalLock(hSKC1Ctxt);</div>
<div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;    <span class="keywordflow">if</span> (!pSKC1Ctxt) <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160; </div>
<div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;    <span class="keywordflow">if</span> (pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a2e2db58916ba069b37aa1841f17899fd">uState</a> &amp; <a class="code" href="a00326.html#a2ed485495b16ac5b969bbd935f52cdf4">FLAG_DRAG_C1</a>) {</div>
<div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;       <a class="code" href="a00317.html#a765ff7b44dcaa170f5d1ad8800ea525f">SKC1DrawDragBorder</a>(hSKWnd, &amp;pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a8751aa78ac37131162ff3b8aaac48ec7">ptSkCursor</a>,</div>
<div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160;                          &amp;pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a828db86063134492f8f5209fcb81773c">ptSkOffset</a>);</div>
<div class="line"><a name="l00437"></a><span class="lineno">  437</span>&#160;    }</div>
<div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160; </div>
<div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160;    DeleteObject(pSKC1Ctxt-&gt;<a class="code" href="a01989.html#ad3f03c31eccbe1588a4a42c3042c873b">hSoftkbd</a>); <span class="comment">// delete hBitmap</span></div>
<div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160; </div>
<div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;    <span class="comment">// Unlock and Free hSKC1Ctxt</span></div>
<div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160;    GlobalUnlock(hSKC1Ctxt);</div>
<div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;    GlobalFree(hSKC1Ctxt);</div>
<div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160; </div>
<div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160;    <span class="comment">// send message to parent window</span></div>
<div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;    hUIWnd = <a class="code" href="a03743.html#a72ab23f7e5d7d08157db573dc8666aff">GetWindow</a>(hSKWnd, GW_OWNER);</div>
<div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160;    <span class="keywordflow">if</span> (hUIWnd) {</div>
<div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;      SendMessage(hUIWnd, WM_IME_NOTIFY, IMN_SOFTKBDDESTROYED, 0);\</div>
<div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;    }</div>
<div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160; </div>
<div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160;    <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00326_source.html#l00151">FLAG_DRAG_C1</a>, <a class="el" href="a03743_source.html#l00466">GetWindow()</a>, <a class="el" href="a00326_source.html#l00158">_tagSKC1CTXT::hSoftkbd</a>, <a class="el" href="a00326_source.html#l00161">_tagSKC1CTXT::ptSkCursor</a>, <a class="el" href="a00326_source.html#l00162">_tagSKC1CTXT::ptSkOffset</a>, <a class="el" href="a00326_source.html#l00148">SKC1_CONTEXT</a>, <a class="el" href="a00317_source.html#l00613">SKC1DrawDragBorder()</a> , 以及 <a class="el" href="a00326_source.html#l00157">_tagSKC1CTXT::uState</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00317_source.html#l01106">SKWndProcC1()</a>.</p>

</div>
</div>
<a id="a324c96b69ecd47db7e05a3dd6b3600b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a324c96b69ecd47db7e05a3dd6b3600b2">&#9670;&nbsp;</a></span>InitSKC1Bitmap()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID InitSKC1Bitmap </td>
          <td>(</td>
          <td class="paramtype">HDC&#160;</td>
          <td class="paramname"><em>hDC</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">RECT&#160;</td>
          <td class="paramname"><em>rcClient</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00317_source.html">sftkbdc1.c</a> 第 <a class="el" href="a00317_source.html#l00279">279</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;{</div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;    <span class="keywordtype">int</span>  i;</div>
<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160; </div>
<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;    <span class="comment">// draw softkbd rectangle</span></div>
<div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;    SelectObject(hDC, GetStockObject(LTGRAY_BRUSH));</div>
<div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;    SelectObject(hDC, GetStockObject(NULL_PEN));</div>
<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;    Rectangle(hDC, rcClient.left, rcClient.top, rcClient.right + 1, rcClient.bottom + 1);</div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160; </div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;    <span class="comment">// draw letter buttons</span></div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;    <span class="keywordflow">for</span> (i = 0; i &lt; <a class="code" href="a00326.html#adefecae28b1b29641db21a45d993af7d">LETTER_NUM_C1</a>; i++) {</div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;      <a class="code" href="a00317.html#aad614fab6483568c6d38d6dcd156fc07">SKC1DrawConvexRect</a>(hDC, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].x, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].y,</div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;                         <a class="code" href="a00326.html#a68dbd84550bd603ed9c9d5507f96f276">W_LETTER_BTN_C1</a>, <a class="code" href="a00326.html#aa5e09915c2d2a7e5834b9fc77a4ade6e">H_LETTER_BTN_C1</a>);</div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;    }</div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;    <span class="comment">// draw letter label</span></div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;    <a class="code" href="a00317.html#a1e4f44ac47f032b3e91c9db3138de24d">SKC1DrawLabel</a>(hDC, <a class="code" href="a00317.html#a2db52f1ea0525600d67bce674b83523e">LABEL_BMP</a>);</div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160; </div>
<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;    <span class="comment">// draw other buttons</span></div>
<div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;    <a class="code" href="a00317.html#aad614fab6483568c6d38d6dcd156fc07">SKC1DrawConvexRect</a>(hDC, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#a73dac7d477e952462a0eca040c5a11db">BACKSP_TYPE_C1</a>].x, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#a73dac7d477e952462a0eca040c5a11db">BACKSP_TYPE_C1</a>].y,</div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;                       <a class="code" href="a00326.html#aba8d2b8046853768172d20780461ec80">W_BACKSP_C1</a> + 2 * <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>, <a class="code" href="a00326.html#aa5e09915c2d2a7e5834b9fc77a4ade6e">H_LETTER_BTN_C1</a>);</div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;    <a class="code" href="a00317.html#a9b25049792b93cc458c3c451fa6a32db">SKC1DrawBitmap</a>(hDC, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#a73dac7d477e952462a0eca040c5a11db">BACKSP_TYPE_C1</a>].x + <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#a73dac7d477e952462a0eca040c5a11db">BACKSP_TYPE_C1</a>].y + <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>,</div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;                   <a class="code" href="a00326.html#aba8d2b8046853768172d20780461ec80">W_BACKSP_C1</a>, <a class="code" href="a00326.html#addba81f8ef915a51899a9538162129b4">H_BACKSP_C1</a>, <a class="code" href="a00317.html#a21386e36a5216c933d8d26c61f60dcac">BACKSP_BMP</a>);</div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160; </div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;    <a class="code" href="a00317.html#aad614fab6483568c6d38d6dcd156fc07">SKC1DrawConvexRect</a>(hDC, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#a59adc1fc7d985eb7dfbcdda3e7e5b9ca">TAB_TYPE_C1</a>].x, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#a59adc1fc7d985eb7dfbcdda3e7e5b9ca">TAB_TYPE_C1</a>].y,</div>
<div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;                       <a class="code" href="a00326.html#a4adf41b07bfcfa2b8e34a8ec2cae0a69">W_TAB_C1</a> + 2 * <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>, <a class="code" href="a00326.html#aa5e09915c2d2a7e5834b9fc77a4ade6e">H_LETTER_BTN_C1</a>);</div>
<div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;    <a class="code" href="a00317.html#a9b25049792b93cc458c3c451fa6a32db">SKC1DrawBitmap</a>(hDC, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#a59adc1fc7d985eb7dfbcdda3e7e5b9ca">TAB_TYPE_C1</a>].x + <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#a59adc1fc7d985eb7dfbcdda3e7e5b9ca">TAB_TYPE_C1</a>].y + <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>,</div>
<div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;                   <a class="code" href="a00326.html#a4adf41b07bfcfa2b8e34a8ec2cae0a69">W_TAB_C1</a>, <a class="code" href="a00326.html#aac799a057e468d7296192abd011c14d0">H_TAB_C1</a>, <a class="code" href="a00317.html#abaa93a2ac16d58d8a1d0625d29dbc999">TAB_BMP</a>);</div>
<div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160; </div>
<div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;    <a class="code" href="a00317.html#aad614fab6483568c6d38d6dcd156fc07">SKC1DrawConvexRect</a>(hDC, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#ae63d887af6607aaf29439fb77ab6b1cb">CAPS_TYPE_C1</a>].x, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#ae63d887af6607aaf29439fb77ab6b1cb">CAPS_TYPE_C1</a>].y,</div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;                       <a class="code" href="a00326.html#ab74c3012dc2d55efc7ca964764cc6e68">W_CAPS_C1</a> + 2 * <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>, <a class="code" href="a00326.html#aa5e09915c2d2a7e5834b9fc77a4ade6e">H_LETTER_BTN_C1</a>);</div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;    <a class="code" href="a00317.html#a9b25049792b93cc458c3c451fa6a32db">SKC1DrawBitmap</a>(hDC, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#ae63d887af6607aaf29439fb77ab6b1cb">CAPS_TYPE_C1</a>].x + <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#ae63d887af6607aaf29439fb77ab6b1cb">CAPS_TYPE_C1</a>].y + <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>,</div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;                   <a class="code" href="a00326.html#ab74c3012dc2d55efc7ca964764cc6e68">W_CAPS_C1</a>, <a class="code" href="a00326.html#ac0a31b9296dbac9c297ce3de8cb20415">H_CAPS_C1</a>, <a class="code" href="a00317.html#a99e47ab08f9b70f90043dd2f35996599">CAPS_BMP</a>);</div>
<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160; </div>
<div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;    <a class="code" href="a00317.html#aad614fab6483568c6d38d6dcd156fc07">SKC1DrawConvexRect</a>(hDC, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#a5ad2523dd56ebded766e8bfc421b6b1c">ENTER_TYPE_C1</a>].x, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#a5ad2523dd56ebded766e8bfc421b6b1c">ENTER_TYPE_C1</a>].y,</div>
<div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;                       <a class="code" href="a00326.html#aace729b490a4a876d4cfb1f0a31aef87">W_ENTER_C1</a> + 2 * <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>, <a class="code" href="a00326.html#aa5e09915c2d2a7e5834b9fc77a4ade6e">H_LETTER_BTN_C1</a>);</div>
<div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;    <a class="code" href="a00317.html#a9b25049792b93cc458c3c451fa6a32db">SKC1DrawBitmap</a>(hDC, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#a5ad2523dd56ebded766e8bfc421b6b1c">ENTER_TYPE_C1</a>].x + <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#a5ad2523dd56ebded766e8bfc421b6b1c">ENTER_TYPE_C1</a>].y + <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>,</div>
<div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;                   <a class="code" href="a00326.html#aace729b490a4a876d4cfb1f0a31aef87">W_ENTER_C1</a>, <a class="code" href="a00326.html#a13302a0e66c4a147612ac4152bbe0b59">H_ENTER_C1</a>, <a class="code" href="a00317.html#ae5eb929d066799bfe6b571a2e4d30d08">ENTER_BMP</a>);</div>
<div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160; </div>
<div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;    <a class="code" href="a00317.html#aad614fab6483568c6d38d6dcd156fc07">SKC1DrawConvexRect</a>(hDC, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#af9d4e80dbaad989ffe11a6db6c15a081">SHIFT_TYPE_C1</a>].x, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#af9d4e80dbaad989ffe11a6db6c15a081">SHIFT_TYPE_C1</a>].y,</div>
<div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;                       <a class="code" href="a00326.html#a74ec5ff34033135c42c613ea92033798">W_SHIFT_C1</a> + 2 * <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>, <a class="code" href="a00326.html#aa5e09915c2d2a7e5834b9fc77a4ade6e">H_LETTER_BTN_C1</a>);</div>
<div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;    <a class="code" href="a00317.html#a9b25049792b93cc458c3c451fa6a32db">SKC1DrawBitmap</a>(hDC, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#af9d4e80dbaad989ffe11a6db6c15a081">SHIFT_TYPE_C1</a>].x + <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#af9d4e80dbaad989ffe11a6db6c15a081">SHIFT_TYPE_C1</a>].y + <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>,</div>
<div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;                   <a class="code" href="a00326.html#a74ec5ff34033135c42c613ea92033798">W_SHIFT_C1</a>, <a class="code" href="a00326.html#a4661b3621ad42991612528a7b6ceb72c">H_SHIFT_C1</a>, <a class="code" href="a00317.html#a60a2fca89736bbe4810a08e2ca5f1667">SHIFT_BMP</a>);</div>
<div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160; </div>
<div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;    <a class="code" href="a00317.html#aad614fab6483568c6d38d6dcd156fc07">SKC1DrawConvexRect</a>(hDC, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#a009f25f0d786dbca452a7850f1144ab3">INS_TYPE_C1</a>].x, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#a009f25f0d786dbca452a7850f1144ab3">INS_TYPE_C1</a>].y,</div>
<div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;                       <a class="code" href="a00326.html#a89fffd5c22e88300c95c7ba012514a07">W_INS_C1</a> + 2 * <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>, <a class="code" href="a00326.html#ab500d2734b8ecfa1afd8c5adc42e27ba">H_BOTTOM_BTN_C1</a>);</div>
<div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;    <a class="code" href="a00317.html#a9b25049792b93cc458c3c451fa6a32db">SKC1DrawBitmap</a>(hDC, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#a009f25f0d786dbca452a7850f1144ab3">INS_TYPE_C1</a>].x + <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#a009f25f0d786dbca452a7850f1144ab3">INS_TYPE_C1</a>].y + <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>,</div>
<div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;                   <a class="code" href="a00326.html#a89fffd5c22e88300c95c7ba012514a07">W_INS_C1</a>, <a class="code" href="a00326.html#ae4e6ad299e679faf36e694f2fc5f15f7">H_INS_C1</a>, <a class="code" href="a00317.html#a3538869e2bdfe09e97fee791d182f9d8">INS_BMP</a>);</div>
<div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160; </div>
<div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;    <a class="code" href="a00317.html#aad614fab6483568c6d38d6dcd156fc07">SKC1DrawConvexRect</a>(hDC, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#aa5e87e53d55935b0ea0819b9bd143e2f">DEL_TYPE_C1</a>].x, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#aa5e87e53d55935b0ea0819b9bd143e2f">DEL_TYPE_C1</a>].y,</div>
<div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;                       <a class="code" href="a00326.html#a9038a2d9da4adb14c0a48c739704b372">W_DEL_C1</a> + 2 * <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>, <a class="code" href="a00326.html#ab500d2734b8ecfa1afd8c5adc42e27ba">H_BOTTOM_BTN_C1</a>);</div>
<div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;    <a class="code" href="a00317.html#a9b25049792b93cc458c3c451fa6a32db">SKC1DrawBitmap</a>(hDC, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#aa5e87e53d55935b0ea0819b9bd143e2f">DEL_TYPE_C1</a>].x + <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#aa5e87e53d55935b0ea0819b9bd143e2f">DEL_TYPE_C1</a>].y + <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>,</div>
<div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;                   <a class="code" href="a00326.html#a9038a2d9da4adb14c0a48c739704b372">W_DEL_C1</a>, <a class="code" href="a00326.html#a8d06392fc0478d449cac710f09446f9c">H_DEL_C1</a>, <a class="code" href="a00317.html#afeece006936ac6045b9fbf85f4ebc47f">DEL_BMP</a>);</div>
<div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160; </div>
<div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;    <a class="code" href="a00317.html#aad614fab6483568c6d38d6dcd156fc07">SKC1DrawConvexRect</a>(hDC, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#a65b086e9249b71063784c2116fe9c39d">SPACE_TYPE_C1</a>].x, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#a65b086e9249b71063784c2116fe9c39d">SPACE_TYPE_C1</a>].y,</div>
<div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;                       <a class="code" href="a00326.html#adab3e238171f9b98d6ca17061979d4b6">W_SPACE_C1</a> + 2 * <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>, <a class="code" href="a00326.html#ab500d2734b8ecfa1afd8c5adc42e27ba">H_BOTTOM_BTN_C1</a>);</div>
<div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160; </div>
<div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;    <a class="code" href="a00317.html#aad614fab6483568c6d38d6dcd156fc07">SKC1DrawConvexRect</a>(hDC, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#ad725b632947c29595d586ff59f81117c">ESC_TYPE_C1</a>].x, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#ad725b632947c29595d586ff59f81117c">ESC_TYPE_C1</a>].y,</div>
<div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;                       <a class="code" href="a00326.html#ad9c4914971307081724c1e4ce4ebf779">W_ESC_C1</a> + 2 * <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>, <a class="code" href="a00326.html#ab500d2734b8ecfa1afd8c5adc42e27ba">H_BOTTOM_BTN_C1</a>);</div>
<div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;    <a class="code" href="a00317.html#a9b25049792b93cc458c3c451fa6a32db">SKC1DrawBitmap</a>(hDC, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#ad725b632947c29595d586ff59f81117c">ESC_TYPE_C1</a>].x + <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#ad725b632947c29595d586ff59f81117c">ESC_TYPE_C1</a>].y + <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>,</div>
<div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;                   <a class="code" href="a00326.html#ad9c4914971307081724c1e4ce4ebf779">W_ESC_C1</a>, <a class="code" href="a00326.html#a84b4293626673287a7adb3aa28131e0e">H_ESC_C1</a>, <a class="code" href="a00317.html#ac81cf3a0ae8e54175ae79d170fda5d15">ESC_BMP</a>);</div>
<div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160; </div>
<div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;    <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00317_source.html#l00016">BACKSP_BMP</a>, <a class="el" href="a00326_source.html#l00125">BACKSP_TYPE_C1</a>, <a class="el" href="a00326_source.html#l00082">BORDER_C1</a>, <a class="el" href="a00317_source.html#l00018">CAPS_BMP</a>, <a class="el" href="a00326_source.html#l00127">CAPS_TYPE_C1</a>, <a class="el" href="a00317_source.html#l00022">DEL_BMP</a>, <a class="el" href="a00326_source.html#l00131">DEL_TYPE_C1</a>, <a class="el" href="a00317_source.html#l00019">ENTER_BMP</a>, <a class="el" href="a00326_source.html#l00128">ENTER_TYPE_C1</a>, <a class="el" href="a00317_source.html#l00023">ESC_BMP</a>, <a class="el" href="a00326_source.html#l00133">ESC_TYPE_C1</a>, <a class="el" href="a00317_source.html#l00036">gptButtonPos</a>, <a class="el" href="a00326_source.html#l00092">H_BACKSP_C1</a>, <a class="el" href="a00326_source.html#l00087">H_BOTTOM_BTN_C1</a>, <a class="el" href="a00326_source.html#l00096">H_CAPS_C1</a>, <a class="el" href="a00326_source.html#l00104">H_DEL_C1</a>, <a class="el" href="a00326_source.html#l00098">H_ENTER_C1</a>, <a class="el" href="a00326_source.html#l00108">H_ESC_C1</a>, <a class="el" href="a00326_source.html#l00102">H_INS_C1</a>, <a class="el" href="a00326_source.html#l00084">H_LETTER_BTN_C1</a>, <a class="el" href="a00326_source.html#l00100">H_SHIFT_C1</a>, <a class="el" href="a00326_source.html#l00094">H_TAB_C1</a>, <a class="el" href="a00317_source.html#l00021">INS_BMP</a>, <a class="el" href="a00326_source.html#l00130">INS_TYPE_C1</a>, <a class="el" href="a00317_source.html#l00024">LABEL_BMP</a>, <a class="el" href="a00326_source.html#l00117">LETTER_NUM_C1</a>, <a class="el" href="a00317_source.html#l00020">SHIFT_BMP</a>, <a class="el" href="a00326_source.html#l00129">SHIFT_TYPE_C1</a>, <a class="el" href="a00317_source.html#l00221">SKC1DrawBitmap()</a>, <a class="el" href="a00317_source.html#l00127">SKC1DrawConvexRect()</a>, <a class="el" href="a00317_source.html#l00250">SKC1DrawLabel()</a>, <a class="el" href="a00326_source.html#l00132">SPACE_TYPE_C1</a>, <a class="el" href="a00317_source.html#l00017">TAB_BMP</a>, <a class="el" href="a00326_source.html#l00126">TAB_TYPE_C1</a>, <a class="el" href="a00326_source.html#l00091">W_BACKSP_C1</a>, <a class="el" href="a00326_source.html#l00095">W_CAPS_C1</a>, <a class="el" href="a00326_source.html#l00103">W_DEL_C1</a>, <a class="el" href="a00326_source.html#l00097">W_ENTER_C1</a>, <a class="el" href="a00326_source.html#l00107">W_ESC_C1</a>, <a class="el" href="a00326_source.html#l00101">W_INS_C1</a>, <a class="el" href="a00326_source.html#l00083">W_LETTER_BTN_C1</a>, <a class="el" href="a00326_source.html#l00099">W_SHIFT_C1</a>, <a class="el" href="a00326_source.html#l00105">W_SPACE_C1</a> , 以及 <a class="el" href="a00326_source.html#l00093">W_TAB_C1</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00317_source.html#l00352">CreateC1Window()</a>.</p>

</div>
</div>
<a id="a02c6899d361cf1e7ac61d4854a56db79"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a02c6899d361cf1e7ac61d4854a56db79">&#9670;&nbsp;</a></span>InitSKC1ButtonPos()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID InitSKC1ButtonPos </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00317_source.html">sftkbdc1.c</a> 第 <a class="el" href="a00317_source.html#l00043">43</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;{</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    <span class="keywordtype">int</span>  i, x, y;</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160; </div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    <span class="comment">// init the first row</span></div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    y = 0;</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    <span class="keywordflow">for</span> (i=0, x=<a class="code" href="a00326.html#a3cded5d48ac89b9d8dcefdd304083a96">X_ROW_LETTER_C1</a>; i &lt; <a class="code" href="a00326.html#a34e1e797c22aadca2b3a0096f38c700b">COL_LETTER_C1</a>; i++, x += <a class="code" href="a00326.html#a68dbd84550bd603ed9c9d5507f96f276">W_LETTER_BTN_C1</a>) {</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;      <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].x = x;</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;      <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].y = y;</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    }</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#a73dac7d477e952462a0eca040c5a11db">BACKSP_TYPE_C1</a>].x = x;</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#a73dac7d477e952462a0eca040c5a11db">BACKSP_TYPE_C1</a>].y = y;</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160; </div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    <span class="comment">// init the second row</span></div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    y += <a class="code" href="a00326.html#aa5e09915c2d2a7e5834b9fc77a4ade6e">H_LETTER_BTN_C1</a>;</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    x = 0;</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#a59adc1fc7d985eb7dfbcdda3e7e5b9ca">TAB_TYPE_C1</a>].x = x;</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#a59adc1fc7d985eb7dfbcdda3e7e5b9ca">TAB_TYPE_C1</a>].y = y;</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    <span class="keywordflow">for</span> (i=0, x=<a class="code" href="a00326.html#a333880ff4e81cfa97e98b413e989fa4c">X_ROW2_LETTER_C1</a>; i &lt; <a class="code" href="a00326.html#abe7e961afaf41d1687e84486513f2dc9">COL2_LETTER_C1</a>; i++, x += <a class="code" href="a00326.html#a68dbd84550bd603ed9c9d5507f96f276">W_LETTER_BTN_C1</a>) {</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;      <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i + <a class="code" href="a00326.html#a34e1e797c22aadca2b3a0096f38c700b">COL_LETTER_C1</a>].x = x;</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;      <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i + <a class="code" href="a00326.html#a34e1e797c22aadca2b3a0096f38c700b">COL_LETTER_C1</a>].y = y;</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    }</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160; </div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    <span class="comment">// init the third row</span></div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    y += <a class="code" href="a00326.html#aa5e09915c2d2a7e5834b9fc77a4ade6e">H_LETTER_BTN_C1</a>;</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    x = 0;</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#ae63d887af6607aaf29439fb77ab6b1cb">CAPS_TYPE_C1</a>].x = x;</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#ae63d887af6607aaf29439fb77ab6b1cb">CAPS_TYPE_C1</a>].y = y;</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    <span class="keywordflow">for</span> (i=0, x=<a class="code" href="a00326.html#ad05913052c47d1fb3642268495d93e77">X_ROW3_LETTER_C1</a>; i &lt; <a class="code" href="a00326.html#aede07e950eeb27bdb9cfd0e4bcb8bbcb">COL3_LETTER_C1</a>; i++, x += <a class="code" href="a00326.html#a68dbd84550bd603ed9c9d5507f96f276">W_LETTER_BTN_C1</a>) {</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;      <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i + <a class="code" href="a00326.html#a34e1e797c22aadca2b3a0096f38c700b">COL_LETTER_C1</a> + <a class="code" href="a00326.html#abe7e961afaf41d1687e84486513f2dc9">COL2_LETTER_C1</a>].x = x;</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;      <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i + <a class="code" href="a00326.html#a34e1e797c22aadca2b3a0096f38c700b">COL_LETTER_C1</a> + <a class="code" href="a00326.html#abe7e961afaf41d1687e84486513f2dc9">COL2_LETTER_C1</a>].y = y;         </div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    }</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#a5ad2523dd56ebded766e8bfc421b6b1c">ENTER_TYPE_C1</a>].x = x;</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#a5ad2523dd56ebded766e8bfc421b6b1c">ENTER_TYPE_C1</a>].y = y;</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160; </div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    <span class="comment">// init the forth row</span></div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    y += <a class="code" href="a00326.html#aa5e09915c2d2a7e5834b9fc77a4ade6e">H_LETTER_BTN_C1</a>;</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    x = 0;</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#af9d4e80dbaad989ffe11a6db6c15a081">SHIFT_TYPE_C1</a>].x = x;</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#af9d4e80dbaad989ffe11a6db6c15a081">SHIFT_TYPE_C1</a>].y = y;</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    <span class="keywordflow">for</span> (i=0, x=<a class="code" href="a00326.html#a36c09a7415e784c8458f8ddc03dada18">X_ROW4_LETTER_C1</a>; i &lt; <a class="code" href="a00326.html#abc369436a122f92acd3afb79030cf06f">COL4_LETTER_C1</a>; i++, x += <a class="code" href="a00326.html#a68dbd84550bd603ed9c9d5507f96f276">W_LETTER_BTN_C1</a>) {</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;      <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i + <a class="code" href="a00326.html#a34e1e797c22aadca2b3a0096f38c700b">COL_LETTER_C1</a> + <a class="code" href="a00326.html#abe7e961afaf41d1687e84486513f2dc9">COL2_LETTER_C1</a> + <a class="code" href="a00326.html#aede07e950eeb27bdb9cfd0e4bcb8bbcb">COL3_LETTER_C1</a>].x = x;</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;      <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i + <a class="code" href="a00326.html#a34e1e797c22aadca2b3a0096f38c700b">COL_LETTER_C1</a> + <a class="code" href="a00326.html#abe7e961afaf41d1687e84486513f2dc9">COL2_LETTER_C1</a> + <a class="code" href="a00326.html#aede07e950eeb27bdb9cfd0e4bcb8bbcb">COL3_LETTER_C1</a>].y = y;</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    }</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160; </div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    <span class="comment">// init the bottom row</span></div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    y += <a class="code" href="a00326.html#aa5e09915c2d2a7e5834b9fc77a4ade6e">H_LETTER_BTN_C1</a>;</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    x = 0;</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#a009f25f0d786dbca452a7850f1144ab3">INS_TYPE_C1</a>].x = x;</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#a009f25f0d786dbca452a7850f1144ab3">INS_TYPE_C1</a>].y = y;</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    x = <a class="code" href="a00326.html#afd5f4ea918f42cad8badecec8417d081">X_DEL_C1</a>;</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#aa5e87e53d55935b0ea0819b9bd143e2f">DEL_TYPE_C1</a>].x = x;</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#aa5e87e53d55935b0ea0819b9bd143e2f">DEL_TYPE_C1</a>].y = y;</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;    x += <a class="code" href="a00326.html#a9038a2d9da4adb14c0a48c739704b372">W_DEL_C1</a> + 2 * <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>;</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#a65b086e9249b71063784c2116fe9c39d">SPACE_TYPE_C1</a>].x = x;</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#a65b086e9249b71063784c2116fe9c39d">SPACE_TYPE_C1</a>].y = y;</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;    x = <a class="code" href="a00326.html#a869787d398f23fd734157a4925d414a0">X_ESC_C1</a>;</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#ad725b632947c29595d586ff59f81117c">ESC_TYPE_C1</a>].x = x;</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;    <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[<a class="code" href="a00326.html#ad725b632947c29595d586ff59f81117c">ESC_TYPE_C1</a>].y = y;</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160; </div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00326_source.html#l00125">BACKSP_TYPE_C1</a>, <a class="el" href="a00326_source.html#l00082">BORDER_C1</a>, <a class="el" href="a00326_source.html#l00127">CAPS_TYPE_C1</a>, <a class="el" href="a00326_source.html#l00076">COL2_LETTER_C1</a>, <a class="el" href="a00326_source.html#l00077">COL3_LETTER_C1</a>, <a class="el" href="a00326_source.html#l00078">COL4_LETTER_C1</a>, <a class="el" href="a00326_source.html#l00075">COL_LETTER_C1</a>, <a class="el" href="a00326_source.html#l00131">DEL_TYPE_C1</a>, <a class="el" href="a00326_source.html#l00128">ENTER_TYPE_C1</a>, <a class="el" href="a00326_source.html#l00133">ESC_TYPE_C1</a>, <a class="el" href="a00317_source.html#l00036">gptButtonPos</a>, <a class="el" href="a00326_source.html#l00084">H_LETTER_BTN_C1</a>, <a class="el" href="a00326_source.html#l00130">INS_TYPE_C1</a>, <a class="el" href="a00326_source.html#l00129">SHIFT_TYPE_C1</a>, <a class="el" href="a00326_source.html#l00132">SPACE_TYPE_C1</a>, <a class="el" href="a00326_source.html#l00126">TAB_TYPE_C1</a>, <a class="el" href="a00326_source.html#l00103">W_DEL_C1</a>, <a class="el" href="a00326_source.html#l00083">W_LETTER_BTN_C1</a>, <a class="el" href="a00326_source.html#l00114">X_DEL_C1</a>, <a class="el" href="a00326_source.html#l00115">X_ESC_C1</a>, <a class="el" href="a00326_source.html#l00111">X_ROW2_LETTER_C1</a>, <a class="el" href="a00326_source.html#l00112">X_ROW3_LETTER_C1</a>, <a class="el" href="a00326_source.html#l00113">X_ROW4_LETTER_C1</a> , 以及 <a class="el" href="a00326_source.html#l00110">X_ROW_LETTER_C1</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00317_source.html#l00352">CreateC1Window()</a>.</p>

</div>
</div>
<a id="a6e0bf1f4c79f156def43154167f6cf1e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e0bf1f4c79f156def43154167f6cf1e">&#9670;&nbsp;</a></span>ShowSKC1Window()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID ShowSKC1Window </td>
          <td>(</td>
          <td class="paramtype">HDC&#160;</td>
          <td class="paramname"><em>hDC</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HWND&#160;</td>
          <td class="paramname"><em>hSKWnd</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00317_source.html">sftkbdc1.c</a> 第 <a class="el" href="a00317_source.html#l00459">459</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160;{</div>
<div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;    HGLOBAL   hSKC1Ctxt;</div>
<div class="line"><a name="l00464"></a><span class="lineno">  464</span>&#160;    <a class="code" href="a01989.html">PSKC1CTXT</a> pSKC1Ctxt;</div>
<div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160; </div>
<div class="line"><a name="l00466"></a><span class="lineno">  466</span>&#160;    <span class="comment">// Get and Lock hSKC1Ctxt</span></div>
<div class="line"><a name="l00467"></a><span class="lineno">  467</span>&#160;    hSKC1Ctxt = (HGLOBAL)GetWindowLong(hSKWnd, <a class="code" href="a00326.html#ae1373879262ab41a35d20c2e9a05be93">SKC1_CONTEXT</a>);</div>
<div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;    <span class="keywordflow">if</span> (!hSKC1Ctxt) <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160; </div>
<div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;    pSKC1Ctxt = (<a class="code" href="a00326.html#a440a5d5f45262a6e01c296aacbc72fcd">PSKC1CTXT</a>)GlobalLock(hSKC1Ctxt);</div>
<div class="line"><a name="l00471"></a><span class="lineno">  471</span>&#160;    <span class="keywordflow">if</span> (!pSKC1Ctxt) <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00472"></a><span class="lineno">  472</span>&#160; </div>
<div class="line"><a name="l00473"></a><span class="lineno">  473</span>&#160;    <span class="comment">// create mem dc to show softkeyboard</span></div>
<div class="line"><a name="l00474"></a><span class="lineno">  474</span>&#160;    {</div>
<div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160;       HDC      hMemDC;</div>
<div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160;       HBITMAP  hOldBmp;</div>
<div class="line"><a name="l00477"></a><span class="lineno">  477</span>&#160;       RECT     rcClient;</div>
<div class="line"><a name="l00478"></a><span class="lineno">  478</span>&#160; </div>
<div class="line"><a name="l00479"></a><span class="lineno">  479</span>&#160;       hMemDC = CreateCompatibleDC(hDC);</div>
<div class="line"><a name="l00480"></a><span class="lineno">  480</span>&#160;       hOldBmp = SelectObject(hMemDC, pSKC1Ctxt-&gt;<a class="code" href="a01989.html#ad3f03c31eccbe1588a4a42c3042c873b">hSoftkbd</a>);</div>
<div class="line"><a name="l00481"></a><span class="lineno">  481</span>&#160;       <a class="code" href="a03743.html#a45668f73deb77bee5ef8243d47024212">GetClientRect</a>(hSKWnd, &amp;rcClient);</div>
<div class="line"><a name="l00482"></a><span class="lineno">  482</span>&#160;       BitBlt(hDC, 0, 0, rcClient.right - rcClient.left, rcClient.bottom - rcClient.top,</div>
<div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160;              hMemDC, 0, 0, SRCCOPY);</div>
<div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160;       SelectObject(hMemDC, hOldBmp);</div>
<div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160;       DeleteDC(hMemDC);</div>
<div class="line"><a name="l00486"></a><span class="lineno">  486</span>&#160;    }</div>
<div class="line"><a name="l00487"></a><span class="lineno">  487</span>&#160; </div>
<div class="line"><a name="l00488"></a><span class="lineno">  488</span>&#160;    <span class="comment">// Unlock hSKC1Ctxt</span></div>
<div class="line"><a name="l00489"></a><span class="lineno">  489</span>&#160;    GlobalUnlock(hSKC1Ctxt);</div>
<div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160; </div>
<div class="line"><a name="l00491"></a><span class="lineno">  491</span>&#160;    <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00492"></a><span class="lineno">  492</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a03743_source.html#l00731">GetClientRect()</a>, <a class="el" href="a00326_source.html#l00158">_tagSKC1CTXT::hSoftkbd</a> , 以及 <a class="el" href="a00326_source.html#l00148">SKC1_CONTEXT</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00317_source.html#l01106">SKWndProcC1()</a>.</p>

</div>
</div>
<a id="ada1e88a7d9cd772a74bbee49712f456d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ada1e88a7d9cd772a74bbee49712f456d">&#9670;&nbsp;</a></span>SKC1ButtonDown()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID SKC1ButtonDown </td>
          <td>(</td>
          <td class="paramtype">HWND&#160;</td>
          <td class="paramname"><em>hSKWnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00326.html#a440a5d5f45262a6e01c296aacbc72fcd">PSKC1CTXT</a>&#160;</td>
          <td class="paramname"><em>pSKC1Ctxt</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00317_source.html">sftkbdc1.c</a> 第 <a class="el" href="a00317_source.html#l00786">786</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00789"></a><span class="lineno">  789</span>&#160;{</div>
<div class="line"><a name="l00790"></a><span class="lineno">  790</span>&#160;    <span class="comment">// capture the mouse activity</span></div>
<div class="line"><a name="l00791"></a><span class="lineno">  791</span>&#160;    SetCapture(hSKWnd);</div>
<div class="line"><a name="l00792"></a><span class="lineno">  792</span>&#160; </div>
<div class="line"><a name="l00793"></a><span class="lineno">  793</span>&#160;    <span class="comment">// in drag area</span></div>
<div class="line"><a name="l00794"></a><span class="lineno">  794</span>&#160;    <span class="keywordflow">if</span> (pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a41ab4504400fe8702ae95ed0a4dec8a5">uKeyIndex</a> == -1) {</div>
<div class="line"><a name="l00795"></a><span class="lineno">  795</span>&#160;       pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a2e2db58916ba069b37aa1841f17899fd">uState</a> |= <a class="code" href="a00326.html#a2ed485495b16ac5b969bbd935f52cdf4">FLAG_DRAG_C1</a>;</div>
<div class="line"><a name="l00796"></a><span class="lineno">  796</span>&#160; </div>
<div class="line"><a name="l00797"></a><span class="lineno">  797</span>&#160;       <a class="code" href="a00317.html#a765ff7b44dcaa170f5d1ad8800ea525f">SKC1DrawDragBorder</a>(hSKWnd, &amp;pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a8751aa78ac37131162ff3b8aaac48ec7">ptSkCursor</a>, &amp;pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a828db86063134492f8f5209fcb81773c">ptSkOffset</a>);</div>
<div class="line"><a name="l00798"></a><span class="lineno">  798</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00799"></a><span class="lineno">  799</span>&#160;       <a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> uVirtKey = 0xff;</div>
<div class="line"><a name="l00800"></a><span class="lineno">  800</span>&#160;       BOOL bRet = FALSE;</div>
<div class="line"><a name="l00801"></a><span class="lineno">  801</span>&#160; </div>
<div class="line"><a name="l00802"></a><span class="lineno">  802</span>&#160;       <span class="keywordflow">if</span> (pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a41ab4504400fe8702ae95ed0a4dec8a5">uKeyIndex</a> == <a class="code" href="a00326.html#af9d4e80dbaad989ffe11a6db6c15a081">SHIFT_TYPE_C1</a>) {</div>
<div class="line"><a name="l00803"></a><span class="lineno">  803</span>&#160;          <span class="keywordflow">if</span> (!(pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a2e2db58916ba069b37aa1841f17899fd">uState</a> &amp; <a class="code" href="a00326.html#a4bc23928c8a2d5465ac8bf4829e5c838">FLAG_SHIFT_C1</a>)) {</div>
<div class="line"><a name="l00804"></a><span class="lineno">  804</span>&#160;             bRet = TRUE;</div>
<div class="line"><a name="l00805"></a><span class="lineno">  805</span>&#160;          }</div>
<div class="line"><a name="l00806"></a><span class="lineno">  806</span>&#160;       } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a41ab4504400fe8702ae95ed0a4dec8a5">uKeyIndex</a> &lt; <a class="code" href="a00326.html#adefecae28b1b29641db21a45d993af7d">LETTER_NUM_C1</a>) {</div>
<div class="line"><a name="l00807"></a><span class="lineno">  807</span>&#160;          <span class="keywordflow">if</span> (pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a2e2db58916ba069b37aa1841f17899fd">uState</a> &amp; <a class="code" href="a00326.html#a4bc23928c8a2d5465ac8bf4829e5c838">FLAG_SHIFT_C1</a>) {</div>
<div class="line"><a name="l00808"></a><span class="lineno">  808</span>&#160;             uVirtKey = pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a7fd95759bf9011297f4fb311e1814aba">wShiftCode</a>[pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a41ab4504400fe8702ae95ed0a4dec8a5">uKeyIndex</a>];</div>
<div class="line"><a name="l00809"></a><span class="lineno">  809</span>&#160;          }</div>
<div class="line"><a name="l00810"></a><span class="lineno">  810</span>&#160;          <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00811"></a><span class="lineno">  811</span>&#160;             uVirtKey = pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a6ab33e87d8d3bc2ca07fa06cc1363968">wNonShiftCode</a>[pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a41ab4504400fe8702ae95ed0a4dec8a5">uKeyIndex</a>];</div>
<div class="line"><a name="l00812"></a><span class="lineno">  812</span>&#160;          }</div>
<div class="line"><a name="l00813"></a><span class="lineno">  813</span>&#160; </div>
<div class="line"><a name="l00814"></a><span class="lineno">  814</span>&#160;          <span class="keywordflow">if</span> (uVirtKey) {</div>
<div class="line"><a name="l00815"></a><span class="lineno">  815</span>&#160;             bRet = TRUE;</div>
<div class="line"><a name="l00816"></a><span class="lineno">  816</span>&#160;          } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00817"></a><span class="lineno">  817</span>&#160;             <a class="code" href="a00026.html#a3cb22926bc104cab20cbb79f96e7ab7a">MessageBeep</a>(0xFFFFFFFF);</div>
<div class="line"><a name="l00818"></a><span class="lineno">  818</span>&#160;             pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a41ab4504400fe8702ae95ed0a4dec8a5">uKeyIndex</a> = -1;</div>
<div class="line"><a name="l00819"></a><span class="lineno">  819</span>&#160;          }</div>
<div class="line"><a name="l00820"></a><span class="lineno">  820</span>&#160;       } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00821"></a><span class="lineno">  821</span>&#160;          bRet = TRUE;</div>
<div class="line"><a name="l00822"></a><span class="lineno">  822</span>&#160;       }</div>
<div class="line"><a name="l00823"></a><span class="lineno">  823</span>&#160; </div>
<div class="line"><a name="l00824"></a><span class="lineno">  824</span>&#160;       <span class="keywordflow">if</span> (bRet) {</div>
<div class="line"><a name="l00825"></a><span class="lineno">  825</span>&#160;          HDC      hDC, hMemDC;</div>
<div class="line"><a name="l00826"></a><span class="lineno">  826</span>&#160;          HBITMAP  hOldBmp;</div>
<div class="line"><a name="l00827"></a><span class="lineno">  827</span>&#160;        </div>
<div class="line"><a name="l00828"></a><span class="lineno">  828</span>&#160;          hDC = GetDC(hSKWnd);</div>
<div class="line"><a name="l00829"></a><span class="lineno">  829</span>&#160;          hMemDC = CreateCompatibleDC(hDC);</div>
<div class="line"><a name="l00830"></a><span class="lineno">  830</span>&#160;          hOldBmp = SelectObject(hMemDC, pSKC1Ctxt-&gt;<a class="code" href="a01989.html#ad3f03c31eccbe1588a4a42c3042c873b">hSoftkbd</a>);</div>
<div class="line"><a name="l00831"></a><span class="lineno">  831</span>&#160; </div>
<div class="line"><a name="l00832"></a><span class="lineno">  832</span>&#160;          <a class="code" href="a00317.html#a2cd6e519efe87dd6ec991185300d4c64">SKC1InvertButton</a>(hDC, pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a41ab4504400fe8702ae95ed0a4dec8a5">uKeyIndex</a>);</div>
<div class="line"><a name="l00833"></a><span class="lineno">  833</span>&#160;          <a class="code" href="a00317.html#a2cd6e519efe87dd6ec991185300d4c64">SKC1InvertButton</a>(hMemDC, pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a41ab4504400fe8702ae95ed0a4dec8a5">uKeyIndex</a>);</div>
<div class="line"><a name="l00834"></a><span class="lineno">  834</span>&#160;          </div>
<div class="line"><a name="l00835"></a><span class="lineno">  835</span>&#160;          SelectObject(hMemDC, hOldBmp);</div>
<div class="line"><a name="l00836"></a><span class="lineno">  836</span>&#160;          DeleteDC(hMemDC);</div>
<div class="line"><a name="l00837"></a><span class="lineno">  837</span>&#160;          <a class="code" href="a00026.html#ae35231899b6d8b4a5e8d23b23b458104">ReleaseDC</a>(hSKWnd,hDC);</div>
<div class="line"><a name="l00838"></a><span class="lineno">  838</span>&#160;       }</div>
<div class="line"><a name="l00839"></a><span class="lineno">  839</span>&#160; </div>
<div class="line"><a name="l00840"></a><span class="lineno">  840</span>&#160;       <span class="keywordflow">if</span>(uVirtKey) {</div>
<div class="line"><a name="l00841"></a><span class="lineno">  841</span>&#160;          pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a2e2db58916ba069b37aa1841f17899fd">uState</a> |= <a class="code" href="a00326.html#aacb45705c7d03d36720887cd7bb0d03c">FLAG_FOCUS_C1</a>;</div>
<div class="line"><a name="l00842"></a><span class="lineno">  842</span>&#160;       }</div>
<div class="line"><a name="l00843"></a><span class="lineno">  843</span>&#160;    }</div>
<div class="line"><a name="l00844"></a><span class="lineno">  844</span>&#160; </div>
<div class="line"><a name="l00845"></a><span class="lineno">  845</span>&#160;    <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00846"></a><span class="lineno">  846</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00326_source.html#l00151">FLAG_DRAG_C1</a>, <a class="el" href="a00326_source.html#l00152">FLAG_FOCUS_C1</a>, <a class="el" href="a00326_source.html#l00150">FLAG_SHIFT_C1</a>, <a class="el" href="a00326_source.html#l00158">_tagSKC1CTXT::hSoftkbd</a>, <a class="el" href="a00326_source.html#l00117">LETTER_NUM_C1</a>, <a class="el" href="a00026_source.html#l02722">MessageBeep()</a>, <a class="el" href="a00326_source.html#l00161">_tagSKC1CTXT::ptSkCursor</a>, <a class="el" href="a00326_source.html#l00162">_tagSKC1CTXT::ptSkOffset</a>, <a class="el" href="a00026_source.html#l00885">ReleaseDC()</a>, <a class="el" href="a00326_source.html#l00129">SHIFT_TYPE_C1</a>, <a class="el" href="a00317_source.html#l00613">SKC1DrawDragBorder()</a>, <a class="el" href="a00317_source.html#l00157">SKC1InvertButton()</a>, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT()</a>, <a class="el" href="a00326_source.html#l00160">_tagSKC1CTXT::uKeyIndex</a>, <a class="el" href="a00326_source.html#l00157">_tagSKC1CTXT::uState</a>, <a class="el" href="a00326_source.html#l00156">_tagSKC1CTXT::wNonShiftCode</a> , 以及 <a class="el" href="a00326_source.html#l00155">_tagSKC1CTXT::wShiftCode</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00317_source.html#l00853">SKC1SetCursor()</a>.</p>

</div>
</div>
<a id="ab9b2b7d016a96a84df6484587b3b9c2b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab9b2b7d016a96a84df6484587b3b9c2b">&#9670;&nbsp;</a></span>SKC1ButtonUp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL SKC1ButtonUp </td>
          <td>(</td>
          <td class="paramtype">HWND&#160;</td>
          <td class="paramname"><em>hSKWnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">WPARAM&#160;</td>
          <td class="paramname"><em>wParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LPARAM&#160;</td>
          <td class="paramname"><em>lParam</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00317_source.html">sftkbdc1.c</a> 第 <a class="el" href="a00317_source.html#l00981">981</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00985"></a><span class="lineno">  985</span>&#160;{</div>
<div class="line"><a name="l00986"></a><span class="lineno">  986</span>&#160;    HGLOBAL   hSKC1Ctxt;</div>
<div class="line"><a name="l00987"></a><span class="lineno">  987</span>&#160;    <a class="code" href="a01989.html">PSKC1CTXT</a> pSKC1Ctxt;</div>
<div class="line"><a name="l00988"></a><span class="lineno">  988</span>&#160;    POINT     pt;</div>
<div class="line"><a name="l00989"></a><span class="lineno">  989</span>&#160;    <a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>      uVirtKey;</div>
<div class="line"><a name="l00990"></a><span class="lineno">  990</span>&#160;    BOOL      bRet = FALSE;</div>
<div class="line"><a name="l00991"></a><span class="lineno">  991</span>&#160; </div>
<div class="line"><a name="l00992"></a><span class="lineno">  992</span>&#160;    <span class="comment">// Get and lock hSKC1Ctxt</span></div>
<div class="line"><a name="l00993"></a><span class="lineno">  993</span>&#160;    hSKC1Ctxt = (HGLOBAL)GetWindowLong(hSKWnd, <a class="code" href="a00326.html#ae1373879262ab41a35d20c2e9a05be93">SKC1_CONTEXT</a>);</div>
<div class="line"><a name="l00994"></a><span class="lineno">  994</span>&#160;    <span class="keywordflow">if</span> (!hSKC1Ctxt) {</div>
<div class="line"><a name="l00995"></a><span class="lineno">  995</span>&#160;        <span class="keywordflow">return</span> (bRet);</div>
<div class="line"><a name="l00996"></a><span class="lineno">  996</span>&#160;    }</div>
<div class="line"><a name="l00997"></a><span class="lineno">  997</span>&#160; </div>
<div class="line"><a name="l00998"></a><span class="lineno">  998</span>&#160;    pSKC1Ctxt = (<a class="code" href="a00326.html#a440a5d5f45262a6e01c296aacbc72fcd">PSKC1CTXT</a>)GlobalLock(hSKC1Ctxt);</div>
<div class="line"><a name="l00999"></a><span class="lineno">  999</span>&#160;    <span class="keywordflow">if</span> (!pSKC1Ctxt) {</div>
<div class="line"><a name="l01000"></a><span class="lineno"> 1000</span>&#160;        <span class="keywordflow">return</span> (bRet);</div>
<div class="line"><a name="l01001"></a><span class="lineno"> 1001</span>&#160;    }</div>
<div class="line"><a name="l01002"></a><span class="lineno"> 1002</span>&#160; </div>
<div class="line"><a name="l01003"></a><span class="lineno"> 1003</span>&#160;    <a class="code" href="a00026.html#a4d54aeecb59d707aa9ef66e7ecb702fd">ReleaseCapture</a>();</div>
<div class="line"><a name="l01004"></a><span class="lineno"> 1004</span>&#160; </div>
<div class="line"><a name="l01005"></a><span class="lineno"> 1005</span>&#160;    <span class="keywordflow">if</span> (pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a2e2db58916ba069b37aa1841f17899fd">uState</a> &amp; <a class="code" href="a00326.html#a2ed485495b16ac5b969bbd935f52cdf4">FLAG_DRAG_C1</a>) {</div>
<div class="line"><a name="l01006"></a><span class="lineno"> 1006</span>&#160;       pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a2e2db58916ba069b37aa1841f17899fd">uState</a> &amp;= ~(<a class="code" href="a00326.html#a2ed485495b16ac5b969bbd935f52cdf4">FLAG_DRAG_C1</a>);</div>
<div class="line"><a name="l01007"></a><span class="lineno"> 1007</span>&#160; </div>
<div class="line"><a name="l01008"></a><span class="lineno"> 1008</span>&#160;       <a class="code" href="a00317.html#a765ff7b44dcaa170f5d1ad8800ea525f">SKC1DrawDragBorder</a>(hSKWnd, &amp;pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a8751aa78ac37131162ff3b8aaac48ec7">ptSkCursor</a>, &amp;pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a828db86063134492f8f5209fcb81773c">ptSkOffset</a>);</div>
<div class="line"><a name="l01009"></a><span class="lineno"> 1009</span>&#160; </div>
<div class="line"><a name="l01010"></a><span class="lineno"> 1010</span>&#160;       pt.x = pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a8751aa78ac37131162ff3b8aaac48ec7">ptSkCursor</a>.x - pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a828db86063134492f8f5209fcb81773c">ptSkOffset</a>.x;</div>
<div class="line"><a name="l01011"></a><span class="lineno"> 1011</span>&#160;       pt.y = pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a8751aa78ac37131162ff3b8aaac48ec7">ptSkCursor</a>.y - pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a828db86063134492f8f5209fcb81773c">ptSkOffset</a>.y;</div>
<div class="line"><a name="l01012"></a><span class="lineno"> 1012</span>&#160; </div>
<div class="line"><a name="l01013"></a><span class="lineno"> 1013</span>&#160;       SetWindowPos(hSKWnd, (HWND)NULL, pt.x, pt.y,</div>
<div class="line"><a name="l01014"></a><span class="lineno"> 1014</span>&#160;                     0, 0, SWP_NOACTIVATE|SWP_NOSIZE|SWP_NOZORDER);</div>
<div class="line"><a name="l01015"></a><span class="lineno"> 1015</span>&#160; </div>
<div class="line"><a name="l01016"></a><span class="lineno"> 1016</span>&#160;       <span class="comment">// update IMC</span></div>
<div class="line"><a name="l01017"></a><span class="lineno"> 1017</span>&#160;       bRet = TRUE;</div>
<div class="line"><a name="l01018"></a><span class="lineno"> 1018</span>&#160;       {</div>
<div class="line"><a name="l01019"></a><span class="lineno"> 1019</span>&#160;          HWND          hUIWnd;</div>
<div class="line"><a name="l01020"></a><span class="lineno"> 1020</span>&#160;          HIMC          hImc;</div>
<div class="line"><a name="l01021"></a><span class="lineno"> 1021</span>&#160;          PINPUTCONTEXT pInputContext;</div>
<div class="line"><a name="l01022"></a><span class="lineno"> 1022</span>&#160; </div>
<div class="line"><a name="l01023"></a><span class="lineno"> 1023</span>&#160;          hUIWnd = <a class="code" href="a03743.html#a72ab23f7e5d7d08157db573dc8666aff">GetWindow</a>(hSKWnd, GW_OWNER);</div>
<div class="line"><a name="l01024"></a><span class="lineno"> 1024</span>&#160;          hImc = (HIMC)GetWindowLong(hUIWnd, IMMGWL_IMC);</div>
<div class="line"><a name="l01025"></a><span class="lineno"> 1025</span>&#160;          <span class="keywordflow">if</span> (hImc) {</div>
<div class="line"><a name="l01026"></a><span class="lineno"> 1026</span>&#160;             pInputContext = <a class="code" href="a00311.html#a93ced286ed15ec806746defb9a3ed34d">ImmLockIMC</a>(hImc);</div>
<div class="line"><a name="l01027"></a><span class="lineno"> 1027</span>&#160;             <span class="keywordflow">if</span> (pInputContext) {</div>
<div class="line"><a name="l01028"></a><span class="lineno"> 1028</span>&#160;                pInputContext-&gt;ptSoftKbdPos = pt;</div>
<div class="line"><a name="l01029"></a><span class="lineno"> 1029</span>&#160;                pInputContext-&gt;fdwInit |= INIT_SOFTKBDPOS;</div>
<div class="line"><a name="l01030"></a><span class="lineno"> 1030</span>&#160;                <a class="code" href="a00311.html#a5d94d0239203482be832b9a8e6f67754">ImmUnlockIMC</a>(hImc);</div>
<div class="line"><a name="l01031"></a><span class="lineno"> 1031</span>&#160;             }</div>
<div class="line"><a name="l01032"></a><span class="lineno"> 1032</span>&#160;          }</div>
<div class="line"><a name="l01033"></a><span class="lineno"> 1033</span>&#160;       }</div>
<div class="line"><a name="l01034"></a><span class="lineno"> 1034</span>&#160;    } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a41ab4504400fe8702ae95ed0a4dec8a5">uKeyIndex</a> != -1) {</div>
<div class="line"><a name="l01035"></a><span class="lineno"> 1035</span>&#160;       <span class="keywordflow">if</span> (pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a2e2db58916ba069b37aa1841f17899fd">uState</a> &amp; <a class="code" href="a00326.html#aacb45705c7d03d36720887cd7bb0d03c">FLAG_FOCUS_C1</a>) {</div>
<div class="line"><a name="l01036"></a><span class="lineno"> 1036</span>&#160;          <span class="keywordflow">if</span> (pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a41ab4504400fe8702ae95ed0a4dec8a5">uKeyIndex</a> == <a class="code" href="a00326.html#af9d4e80dbaad989ffe11a6db6c15a081">SHIFT_TYPE_C1</a>) {</div>
<div class="line"><a name="l01037"></a><span class="lineno"> 1037</span>&#160;             <span class="keywordflow">if</span> (pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a2e2db58916ba069b37aa1841f17899fd">uState</a> &amp; <a class="code" href="a00326.html#a4bc23928c8a2d5465ac8bf4829e5c838">FLAG_SHIFT_C1</a>) {</div>
<div class="line"><a name="l01038"></a><span class="lineno"> 1038</span>&#160;                bRet = TRUE;</div>
<div class="line"><a name="l01039"></a><span class="lineno"> 1039</span>&#160;             } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l01040"></a><span class="lineno"> 1040</span>&#160;                pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a2e2db58916ba069b37aa1841f17899fd">uState</a> |= <a class="code" href="a00326.html#a4bc23928c8a2d5465ac8bf4829e5c838">FLAG_SHIFT_C1</a>;</div>
<div class="line"><a name="l01041"></a><span class="lineno"> 1041</span>&#160;             }</div>
<div class="line"><a name="l01042"></a><span class="lineno"> 1042</span>&#160;          } <span class="keywordflow">else</span> <span class="keywordflow">if</span> ((pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a41ab4504400fe8702ae95ed0a4dec8a5">uKeyIndex</a> &lt; <a class="code" href="a00326.html#adefecae28b1b29641db21a45d993af7d">LETTER_NUM_C1</a>) &amp;&amp;</div>
<div class="line"><a name="l01043"></a><span class="lineno"> 1043</span>&#160;                     (pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a2e2db58916ba069b37aa1841f17899fd">uState</a> &amp; <a class="code" href="a00326.html#a4bc23928c8a2d5465ac8bf4829e5c838">FLAG_SHIFT_C1</a>)) {</div>
<div class="line"><a name="l01044"></a><span class="lineno"> 1044</span>&#160;                keybd_event((BYTE)VK_SHIFT, (BYTE)<a class="code" href="a03254.html#af2a9dd7424673dce3719cf8433970b1a">guScanCode</a>[VK_SHIFT],</div>
<div class="line"><a name="l01045"></a><span class="lineno"> 1045</span>&#160;                            (<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)NULL, (<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)NULL);</div>
<div class="line"><a name="l01046"></a><span class="lineno"> 1046</span>&#160;                uVirtKey = <a class="code" href="a00317.html#aa5e006e36ac3a8a9f77f5d16709b3d51">SKC1VirtKey</a>[pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a41ab4504400fe8702ae95ed0a4dec8a5">uKeyIndex</a>];</div>
<div class="line"><a name="l01047"></a><span class="lineno"> 1047</span>&#160;                keybd_event((BYTE)uVirtKey, (BYTE)<a class="code" href="a03254.html#af2a9dd7424673dce3719cf8433970b1a">guScanCode</a>[uVirtKey],</div>
<div class="line"><a name="l01048"></a><span class="lineno"> 1048</span>&#160;                           (<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)NULL, (<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)NULL);</div>
<div class="line"><a name="l01049"></a><span class="lineno"> 1049</span>&#160;                keybd_event((BYTE)uVirtKey, (BYTE)<a class="code" href="a03254.html#af2a9dd7424673dce3719cf8433970b1a">guScanCode</a>[uVirtKey],</div>
<div class="line"><a name="l01050"></a><span class="lineno"> 1050</span>&#160;                           (<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)KEYEVENTF_KEYUP, (<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)NULL);</div>
<div class="line"><a name="l01051"></a><span class="lineno"> 1051</span>&#160;                keybd_event((BYTE)VK_SHIFT, (BYTE)<a class="code" href="a03254.html#af2a9dd7424673dce3719cf8433970b1a">guScanCode</a>[VK_SHIFT],</div>
<div class="line"><a name="l01052"></a><span class="lineno"> 1052</span>&#160;                            (<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)KEYEVENTF_KEYUP, (<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)NULL);</div>
<div class="line"><a name="l01053"></a><span class="lineno"> 1053</span>&#160;                bRet = TRUE;</div>
<div class="line"><a name="l01054"></a><span class="lineno"> 1054</span>&#160;          } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l01055"></a><span class="lineno"> 1055</span>&#160;                uVirtKey = <a class="code" href="a00317.html#aa5e006e36ac3a8a9f77f5d16709b3d51">SKC1VirtKey</a>[pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a41ab4504400fe8702ae95ed0a4dec8a5">uKeyIndex</a>];</div>
<div class="line"><a name="l01056"></a><span class="lineno"> 1056</span>&#160;                keybd_event((BYTE)uVirtKey, (BYTE)<a class="code" href="a03254.html#af2a9dd7424673dce3719cf8433970b1a">guScanCode</a>[uVirtKey],</div>
<div class="line"><a name="l01057"></a><span class="lineno"> 1057</span>&#160;                         (<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)NULL, (<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)NULL);</div>
<div class="line"><a name="l01058"></a><span class="lineno"> 1058</span>&#160;                keybd_event((BYTE)uVirtKey, (BYTE)<a class="code" href="a03254.html#af2a9dd7424673dce3719cf8433970b1a">guScanCode</a>[uVirtKey],</div>
<div class="line"><a name="l01059"></a><span class="lineno"> 1059</span>&#160;                         (<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)KEYEVENTF_KEYUP, (<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)NULL);</div>
<div class="line"><a name="l01060"></a><span class="lineno"> 1060</span>&#160;                bRet = TRUE;</div>
<div class="line"><a name="l01061"></a><span class="lineno"> 1061</span>&#160;          }</div>
<div class="line"><a name="l01062"></a><span class="lineno"> 1062</span>&#160; </div>
<div class="line"><a name="l01063"></a><span class="lineno"> 1063</span>&#160;          <span class="keywordflow">if</span> (bRet){</div>
<div class="line"><a name="l01064"></a><span class="lineno"> 1064</span>&#160;             HDC      hDC, hMemDC;</div>
<div class="line"><a name="l01065"></a><span class="lineno"> 1065</span>&#160;             HBITMAP  hOldBmp;</div>
<div class="line"><a name="l01066"></a><span class="lineno"> 1066</span>&#160;         </div>
<div class="line"><a name="l01067"></a><span class="lineno"> 1067</span>&#160;             hDC = GetDC(hSKWnd);</div>
<div class="line"><a name="l01068"></a><span class="lineno"> 1068</span>&#160;             hMemDC = CreateCompatibleDC(hDC);</div>
<div class="line"><a name="l01069"></a><span class="lineno"> 1069</span>&#160;             hOldBmp = SelectObject(hMemDC, pSKC1Ctxt-&gt;<a class="code" href="a01989.html#ad3f03c31eccbe1588a4a42c3042c873b">hSoftkbd</a>);</div>
<div class="line"><a name="l01070"></a><span class="lineno"> 1070</span>&#160; </div>
<div class="line"><a name="l01071"></a><span class="lineno"> 1071</span>&#160;             <a class="code" href="a00317.html#a2cd6e519efe87dd6ec991185300d4c64">SKC1InvertButton</a>(hDC, pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a41ab4504400fe8702ae95ed0a4dec8a5">uKeyIndex</a>);</div>
<div class="line"><a name="l01072"></a><span class="lineno"> 1072</span>&#160;             <a class="code" href="a00317.html#a2cd6e519efe87dd6ec991185300d4c64">SKC1InvertButton</a>(hMemDC, pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a41ab4504400fe8702ae95ed0a4dec8a5">uKeyIndex</a>);</div>
<div class="line"><a name="l01073"></a><span class="lineno"> 1073</span>&#160; </div>
<div class="line"><a name="l01074"></a><span class="lineno"> 1074</span>&#160;             <span class="keywordflow">if</span> ((pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a41ab4504400fe8702ae95ed0a4dec8a5">uKeyIndex</a> != <a class="code" href="a00326.html#af9d4e80dbaad989ffe11a6db6c15a081">SHIFT_TYPE_C1</a>) &amp;&amp;</div>
<div class="line"><a name="l01075"></a><span class="lineno"> 1075</span>&#160;                 (pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a41ab4504400fe8702ae95ed0a4dec8a5">uKeyIndex</a> &lt; <a class="code" href="a00326.html#adefecae28b1b29641db21a45d993af7d">LETTER_NUM_C1</a>) &amp;&amp;</div>
<div class="line"><a name="l01076"></a><span class="lineno"> 1076</span>&#160;                 (pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a2e2db58916ba069b37aa1841f17899fd">uState</a> &amp; <a class="code" href="a00326.html#a4bc23928c8a2d5465ac8bf4829e5c838">FLAG_SHIFT_C1</a>)) {</div>
<div class="line"><a name="l01077"></a><span class="lineno"> 1077</span>&#160;                <a class="code" href="a00317.html#a2cd6e519efe87dd6ec991185300d4c64">SKC1InvertButton</a>(hDC, <a class="code" href="a00326.html#af9d4e80dbaad989ffe11a6db6c15a081">SHIFT_TYPE_C1</a>);</div>
<div class="line"><a name="l01078"></a><span class="lineno"> 1078</span>&#160;                <a class="code" href="a00317.html#a2cd6e519efe87dd6ec991185300d4c64">SKC1InvertButton</a>(hMemDC, <a class="code" href="a00326.html#af9d4e80dbaad989ffe11a6db6c15a081">SHIFT_TYPE_C1</a>);</div>
<div class="line"><a name="l01079"></a><span class="lineno"> 1079</span>&#160;             }</div>
<div class="line"><a name="l01080"></a><span class="lineno"> 1080</span>&#160; </div>
<div class="line"><a name="l01081"></a><span class="lineno"> 1081</span>&#160;             <span class="keywordflow">if</span> ((pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a41ab4504400fe8702ae95ed0a4dec8a5">uKeyIndex</a> &lt; <a class="code" href="a00326.html#adefecae28b1b29641db21a45d993af7d">LETTER_NUM_C1</a>) ||</div>
<div class="line"><a name="l01082"></a><span class="lineno"> 1082</span>&#160;                 (pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a41ab4504400fe8702ae95ed0a4dec8a5">uKeyIndex</a> == <a class="code" href="a00326.html#af9d4e80dbaad989ffe11a6db6c15a081">SHIFT_TYPE_C1</a>)) {</div>
<div class="line"><a name="l01083"></a><span class="lineno"> 1083</span>&#160;                pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a2e2db58916ba069b37aa1841f17899fd">uState</a> &amp;= ~(<a class="code" href="a00326.html#a4bc23928c8a2d5465ac8bf4829e5c838">FLAG_SHIFT_C1</a>);</div>
<div class="line"><a name="l01084"></a><span class="lineno"> 1084</span>&#160;             }</div>
<div class="line"><a name="l01085"></a><span class="lineno"> 1085</span>&#160; </div>
<div class="line"><a name="l01086"></a><span class="lineno"> 1086</span>&#160;             SelectObject(hMemDC, hOldBmp);</div>
<div class="line"><a name="l01087"></a><span class="lineno"> 1087</span>&#160;             DeleteDC(hMemDC);</div>
<div class="line"><a name="l01088"></a><span class="lineno"> 1088</span>&#160;             <a class="code" href="a00026.html#ae35231899b6d8b4a5e8d23b23b458104">ReleaseDC</a>(hSKWnd,hDC);</div>
<div class="line"><a name="l01089"></a><span class="lineno"> 1089</span>&#160;          }</div>
<div class="line"><a name="l01090"></a><span class="lineno"> 1090</span>&#160;          pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a2e2db58916ba069b37aa1841f17899fd">uState</a> &amp;= ~ (<a class="code" href="a00326.html#aacb45705c7d03d36720887cd7bb0d03c">FLAG_FOCUS_C1</a>);</div>
<div class="line"><a name="l01091"></a><span class="lineno"> 1091</span>&#160;       }</div>
<div class="line"><a name="l01092"></a><span class="lineno"> 1092</span>&#160;       pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a41ab4504400fe8702ae95ed0a4dec8a5">uKeyIndex</a> = -1;</div>
<div class="line"><a name="l01093"></a><span class="lineno"> 1093</span>&#160;    }</div>
<div class="line"><a name="l01094"></a><span class="lineno"> 1094</span>&#160; </div>
<div class="line"><a name="l01095"></a><span class="lineno"> 1095</span>&#160;    <span class="comment">// unlock hSKC1Ctxt</span></div>
<div class="line"><a name="l01096"></a><span class="lineno"> 1096</span>&#160;    GlobalUnlock(hSKC1Ctxt);</div>
<div class="line"><a name="l01097"></a><span class="lineno"> 1097</span>&#160; </div>
<div class="line"><a name="l01098"></a><span class="lineno"> 1098</span>&#160;    <span class="keywordflow">return</span> (bRet);</div>
<div class="line"><a name="l01099"></a><span class="lineno"> 1099</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a00326_source.html#l00151">FLAG_DRAG_C1</a>, <a class="el" href="a00326_source.html#l00152">FLAG_FOCUS_C1</a>, <a class="el" href="a00326_source.html#l00150">FLAG_SHIFT_C1</a>, <a class="el" href="a03743_source.html#l00466">GetWindow()</a>, <a class="el" href="a03254_source.html#l00025">guScanCode</a>, <a class="el" href="a00326_source.html#l00158">_tagSKC1CTXT::hSoftkbd</a>, <a class="el" href="a00311_source.html#l00243">ImmLockIMC()</a>, <a class="el" href="a00311_source.html#l00302">ImmUnlockIMC()</a>, <a class="el" href="a00326_source.html#l00117">LETTER_NUM_C1</a>, <a class="el" href="a00326_source.html#l00161">_tagSKC1CTXT::ptSkCursor</a>, <a class="el" href="a00326_source.html#l00162">_tagSKC1CTXT::ptSkOffset</a>, <a class="el" href="a00026_source.html#l02875">ReleaseCapture()</a>, <a class="el" href="a00026_source.html#l00885">ReleaseDC()</a>, <a class="el" href="a00326_source.html#l00129">SHIFT_TYPE_C1</a>, <a class="el" href="a00326_source.html#l00148">SKC1_CONTEXT</a>, <a class="el" href="a00317_source.html#l00613">SKC1DrawDragBorder()</a>, <a class="el" href="a00317_source.html#l00157">SKC1InvertButton()</a>, <a class="el" href="a00317_source.html#l00027">SKC1VirtKey</a>, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT()</a>, <a class="el" href="a00326_source.html#l00160">_tagSKC1CTXT::uKeyIndex</a> , 以及 <a class="el" href="a00326_source.html#l00157">_tagSKC1CTXT::uState</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00317_source.html#l01106">SKWndProcC1()</a>.</p>

</div>
</div>
<a id="a9b25049792b93cc458c3c451fa6a32db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9b25049792b93cc458c3c451fa6a32db">&#9670;&nbsp;</a></span>SKC1DrawBitmap()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID SKC1DrawBitmap </td>
          <td>(</td>
          <td class="paramtype">HDC&#160;</td>
          <td class="paramname"><em>hDC</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nWidth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nHeight</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LPWSTR&#160;</td>
          <td class="paramname"><em>lpszBitmap</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00317_source.html">sftkbdc1.c</a> 第 <a class="el" href="a00317_source.html#l00221">221</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;{</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;    HDC     hMemDC;</div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;    HBITMAP hBitmap, hOldBmp;</div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160; </div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;    hBitmap = LoadBitmap(<a class="code" href="a03254.html#a10bde0fee9a1b44eafd17dfae0807a12">ghInst</a>, lpszBitmap);</div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;    hMemDC = CreateCompatibleDC(hDC);</div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;    hOldBmp = SelectObject(hMemDC, hBitmap);</div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160; </div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;    BitBlt(hDC, x, y, nWidth, nHeight, hMemDC, 0 , 0, SRCCOPY);</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160; </div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;    SelectObject(hMemDC, hOldBmp);</div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;    DeleteDC(hMemDC);</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;    DeleteObject(hBitmap);</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160; </div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;    <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a03254_source.html#l00014">ghInst</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00317_source.html#l00279">InitSKC1Bitmap()</a>.</p>

</div>
</div>
<a id="aad614fab6483568c6d38d6dcd156fc07"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aad614fab6483568c6d38d6dcd156fc07">&#9670;&nbsp;</a></span>SKC1DrawConvexRect()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID SKC1DrawConvexRect </td>
          <td>(</td>
          <td class="paramtype">HDC&#160;</td>
          <td class="paramname"><em>hDC</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nWidth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nHeight</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00317_source.html">sftkbdc1.c</a> 第 <a class="el" href="a00317_source.html#l00127">127</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;{</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;    <span class="comment">// paint background</span></div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;    SelectObject(hDC, GetStockObject(LTGRAY_BRUSH));</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;    SelectObject(hDC, GetStockObject(BLACK_PEN));</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;    Rectangle(hDC, x, y, x + nWidth, y + nHeight);</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160; </div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;    <span class="comment">// paint white border</span></div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;    SelectObject(hDC, GetStockObject(WHITE_BRUSH));</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;    PatBlt(hDC, x, y + nHeight - 1, <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>, -nHeight + 1, PATCOPY);</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;    PatBlt(hDC, x, y, nWidth - 1 , <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>, PATCOPY);</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160; </div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;    <span class="comment">// paint dark gray border</span></div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;    SelectObject(hDC, GetStockObject(GRAY_BRUSH));</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;    PatBlt(hDC, x + 1, y + nHeight -1, nWidth - <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>, -1, PATCOPY);</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;    PatBlt(hDC, x + nWidth - 1, y + nHeight - 1, -1, -nHeight + <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>, PATCOPY);</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160; </div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;    <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00326_source.html#l00082">BORDER_C1</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00317_source.html#l00279">InitSKC1Bitmap()</a>.</p>

</div>
</div>
<a id="a765ff7b44dcaa170f5d1ad8800ea525f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a765ff7b44dcaa170f5d1ad8800ea525f">&#9670;&nbsp;</a></span>SKC1DrawDragBorder()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID SKC1DrawDragBorder </td>
          <td>(</td>
          <td class="paramtype">HWND&#160;</td>
          <td class="paramname"><em>hWnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LPPOINT&#160;</td>
          <td class="paramname"><em>lpptCursor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LPPOINT&#160;</td>
          <td class="paramname"><em>lpptOffset</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00317_source.html">sftkbdc1.c</a> 第 <a class="el" href="a00317_source.html#l00613">613</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00617"></a><span class="lineno">  617</span>&#160;{</div>
<div class="line"><a name="l00618"></a><span class="lineno">  618</span>&#160;    HDC     hDC;</div>
<div class="line"><a name="l00619"></a><span class="lineno">  619</span>&#160;    RECT    rcWnd, rcWorkArea;</div>
<div class="line"><a name="l00620"></a><span class="lineno">  620</span>&#160;    <span class="keywordtype">int</span>     cxBorder, cyBorder;</div>
<div class="line"><a name="l00621"></a><span class="lineno">  621</span>&#160;    <span class="keywordtype">int</span>     x, y;</div>
<div class="line"><a name="l00622"></a><span class="lineno">  622</span>&#160;    </div>
<div class="line"><a name="l00623"></a><span class="lineno">  623</span>&#160;    <span class="comment">// get rectangle of work area</span></div>
<div class="line"><a name="l00624"></a><span class="lineno">  624</span>&#160;    SystemParametersInfo(SPI_GETWORKAREA, 0, &amp;rcWorkArea, 0);</div>
<div class="line"><a name="l00625"></a><span class="lineno">  625</span>&#160; </div>
<div class="line"><a name="l00626"></a><span class="lineno">  626</span>&#160;    cxBorder = <a class="code" href="a03743.html#a54232da986f655323b318301d691642e">GetSystemMetrics</a>(SM_CXBORDER);   <span class="comment">// width of border</span></div>
<div class="line"><a name="l00627"></a><span class="lineno">  627</span>&#160;    cyBorder = <a class="code" href="a03743.html#a54232da986f655323b318301d691642e">GetSystemMetrics</a>(SM_CYBORDER);   <span class="comment">// height of border</span></div>
<div class="line"><a name="l00628"></a><span class="lineno">  628</span>&#160; </div>
<div class="line"><a name="l00629"></a><span class="lineno">  629</span>&#160;    <span class="comment">// create DISPLAY dc to draw track</span></div>
<div class="line"><a name="l00630"></a><span class="lineno">  630</span>&#160;    hDC = CreateDC(L<span class="stringliteral">&quot;DISPLAY&quot;</span>, NULL, NULL, NULL);</div>
<div class="line"><a name="l00631"></a><span class="lineno">  631</span>&#160;    SelectObject(hDC, GetStockObject(GRAY_BRUSH));</div>
<div class="line"><a name="l00632"></a><span class="lineno">  632</span>&#160; </div>
<div class="line"><a name="l00633"></a><span class="lineno">  633</span>&#160;    <span class="comment">// start point (left,top)</span></div>
<div class="line"><a name="l00634"></a><span class="lineno">  634</span>&#160;    x = lpptCursor-&gt;x - lpptOffset-&gt;x;</div>
<div class="line"><a name="l00635"></a><span class="lineno">  635</span>&#160;    y = lpptCursor-&gt;y - lpptOffset-&gt;y;</div>
<div class="line"><a name="l00636"></a><span class="lineno">  636</span>&#160; </div>
<div class="line"><a name="l00637"></a><span class="lineno">  637</span>&#160;    <span class="comment">// check for the min boundary of the display</span></div>
<div class="line"><a name="l00638"></a><span class="lineno">  638</span>&#160;    <span class="keywordflow">if</span> (x &lt; rcWorkArea.left) {</div>
<div class="line"><a name="l00639"></a><span class="lineno">  639</span>&#160;        x = rcWorkArea.left;</div>
<div class="line"><a name="l00640"></a><span class="lineno">  640</span>&#160;    }</div>
<div class="line"><a name="l00641"></a><span class="lineno">  641</span>&#160; </div>
<div class="line"><a name="l00642"></a><span class="lineno">  642</span>&#160;    <span class="keywordflow">if</span> (y &lt; rcWorkArea.top) {</div>
<div class="line"><a name="l00643"></a><span class="lineno">  643</span>&#160;        y = rcWorkArea.top;</div>
<div class="line"><a name="l00644"></a><span class="lineno">  644</span>&#160;    }</div>
<div class="line"><a name="l00645"></a><span class="lineno">  645</span>&#160; </div>
<div class="line"><a name="l00646"></a><span class="lineno">  646</span>&#160;    <span class="comment">// check for the max boundary of the display</span></div>
<div class="line"><a name="l00647"></a><span class="lineno">  647</span>&#160;    <a class="code" href="a03743.html#ad84a8a00b68bf3b49489de853f0578c9">GetWindowRect</a>(hWnd, &amp;rcWnd);</div>
<div class="line"><a name="l00648"></a><span class="lineno">  648</span>&#160; </div>
<div class="line"><a name="l00649"></a><span class="lineno">  649</span>&#160;    <span class="keywordflow">if</span> (x + rcWnd.right - rcWnd.left &gt; rcWorkArea.right) {</div>
<div class="line"><a name="l00650"></a><span class="lineno">  650</span>&#160;        x = rcWorkArea.right - (rcWnd.right - rcWnd.left);</div>
<div class="line"><a name="l00651"></a><span class="lineno">  651</span>&#160;    }</div>
<div class="line"><a name="l00652"></a><span class="lineno">  652</span>&#160; </div>
<div class="line"><a name="l00653"></a><span class="lineno">  653</span>&#160;    <span class="keywordflow">if</span> (y + rcWnd.bottom - rcWnd.top &gt; rcWorkArea.bottom) {</div>
<div class="line"><a name="l00654"></a><span class="lineno">  654</span>&#160;        y = rcWorkArea.bottom - (rcWnd.bottom - rcWnd.top);</div>
<div class="line"><a name="l00655"></a><span class="lineno">  655</span>&#160;    }</div>
<div class="line"><a name="l00656"></a><span class="lineno">  656</span>&#160; </div>
<div class="line"><a name="l00657"></a><span class="lineno">  657</span>&#160;    <span class="comment">// adjust Offset</span></div>
<div class="line"><a name="l00658"></a><span class="lineno">  658</span>&#160;    lpptOffset-&gt;x = lpptCursor-&gt;x - x;</div>
<div class="line"><a name="l00659"></a><span class="lineno">  659</span>&#160;    lpptOffset-&gt;y = lpptCursor-&gt;y - y;</div>
<div class="line"><a name="l00660"></a><span class="lineno">  660</span>&#160; </div>
<div class="line"><a name="l00661"></a><span class="lineno">  661</span>&#160;    <span class="comment">// draw rectangle</span></div>
<div class="line"><a name="l00662"></a><span class="lineno">  662</span>&#160;    PatBlt(hDC, x, y, rcWnd.right - rcWnd.left - cxBorder, cyBorder, PATINVERT);</div>
<div class="line"><a name="l00663"></a><span class="lineno">  663</span>&#160;    PatBlt(hDC, x, y + cyBorder, cxBorder, rcWnd.bottom - rcWnd.top - cyBorder, PATINVERT);</div>
<div class="line"><a name="l00664"></a><span class="lineno">  664</span>&#160;    PatBlt(hDC, x + cxBorder, y + rcWnd.bottom - rcWnd.top, rcWnd.right - </div>
<div class="line"><a name="l00665"></a><span class="lineno">  665</span>&#160;           rcWnd.left - cxBorder, -cyBorder, PATINVERT);</div>
<div class="line"><a name="l00666"></a><span class="lineno">  666</span>&#160;    PatBlt(hDC, x + rcWnd.right - rcWnd.left, y, - cxBorder, rcWnd.bottom - </div>
<div class="line"><a name="l00667"></a><span class="lineno">  667</span>&#160;           rcWnd.top - cyBorder, PATINVERT);</div>
<div class="line"><a name="l00668"></a><span class="lineno">  668</span>&#160; </div>
<div class="line"><a name="l00669"></a><span class="lineno">  669</span>&#160;    <span class="comment">// delete DISPLAY DC</span></div>
<div class="line"><a name="l00670"></a><span class="lineno">  670</span>&#160;    DeleteDC(hDC);</div>
<div class="line"><a name="l00671"></a><span class="lineno">  671</span>&#160; </div>
<div class="line"><a name="l00672"></a><span class="lineno">  672</span>&#160;    <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00673"></a><span class="lineno">  673</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a03743_source.html#l00544">GetSystemMetrics()</a> , 以及 <a class="el" href="a03743_source.html#l00765">GetWindowRect()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00317_source.html#l00420">DestroyC1Window()</a>, <a class="el" href="a00317_source.html#l00786">SKC1ButtonDown()</a>, <a class="el" href="a00317_source.html#l00981">SKC1ButtonUp()</a> , 以及 <a class="el" href="a00317_source.html#l00914">SKC1MouseMove()</a>.</p>

</div>
</div>
<a id="a1e4f44ac47f032b3e91c9db3138de24d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1e4f44ac47f032b3e91c9db3138de24d">&#9670;&nbsp;</a></span>SKC1DrawLabel()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID SKC1DrawLabel </td>
          <td>(</td>
          <td class="paramtype">HDC&#160;</td>
          <td class="paramname"><em>hDC</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LPWSTR&#160;</td>
          <td class="paramname"><em>lpszLabel</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00317_source.html">sftkbdc1.c</a> 第 <a class="el" href="a00317_source.html#l00250">250</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;{</div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;    HDC     hMemDC;</div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;    HBITMAP hBitmap, hOldBmp;</div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;    <span class="keywordtype">int</span>     i, x;</div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160; </div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;    hBitmap = LoadBitmap(<a class="code" href="a03254.html#a10bde0fee9a1b44eafd17dfae0807a12">ghInst</a>, lpszLabel);</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;    hMemDC = CreateCompatibleDC(hDC);</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;    hOldBmp = SelectObject(hMemDC, hBitmap);</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160; </div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;    <span class="keywordflow">for</span> (i=x=0; i &lt; <a class="code" href="a00326.html#adefecae28b1b29641db21a45d993af7d">LETTER_NUM_C1</a>; i++, x += <a class="code" href="a00326.html#a7a27d0b80822719f4fa02100748d5f5f">SIZELABEL_C1</a>){</div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;     BitBlt(hDC, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].x + <a class="code" href="a00326.html#ab79f99f405e056eb99e820fc7a1f7225">X_LABEL_C1</a>, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].y + <a class="code" href="a00326.html#acc9a7ccd4cfe89cf46f2d7d394835bb2">Y_LABEL_C1</a>, </div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;            <a class="code" href="a00326.html#a7a27d0b80822719f4fa02100748d5f5f">SIZELABEL_C1</a>, <a class="code" href="a00326.html#a7a27d0b80822719f4fa02100748d5f5f">SIZELABEL_C1</a>, hMemDC, x , 0, SRCCOPY);</div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;    }</div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160; </div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;    SelectObject(hMemDC, hOldBmp);</div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;    DeleteDC(hMemDC);</div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;    DeleteObject(hBitmap);</div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160; </div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;    <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a03254_source.html#l00014">ghInst</a>, <a class="el" href="a00317_source.html#l00036">gptButtonPos</a>, <a class="el" href="a00326_source.html#l00117">LETTER_NUM_C1</a>, <a class="el" href="a00326_source.html#l00137">SIZELABEL_C1</a>, <a class="el" href="a00326_source.html#l00139">X_LABEL_C1</a> , 以及 <a class="el" href="a00326_source.html#l00140">Y_LABEL_C1</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00317_source.html#l00279">InitSKC1Bitmap()</a>.</p>

</div>
</div>
<a id="a2cd6e519efe87dd6ec991185300d4c64"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2cd6e519efe87dd6ec991185300d4c64">&#9670;&nbsp;</a></span>SKC1InvertButton()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID SKC1InvertButton </td>
          <td>(</td>
          <td class="paramtype">HDC&#160;</td>
          <td class="paramname"><em>hDC</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>uKeyIndex</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00317_source.html">sftkbdc1.c</a> 第 <a class="el" href="a00317_source.html#l00157">157</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;{</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;    <span class="keywordtype">int</span>  nWidth, nHeight;</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160; </div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;    <span class="keywordflow">if</span> (uKeyIndex &lt; 0) <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160; </div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;    <span class="keywordflow">if</span> (uKeyIndex &lt; <a class="code" href="a00326.html#adefecae28b1b29641db21a45d993af7d">LETTER_NUM_C1</a>) {</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;      nWidth = <a class="code" href="a00326.html#a68dbd84550bd603ed9c9d5507f96f276">W_LETTER_BTN_C1</a>;</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;      nHeight = <a class="code" href="a00326.html#aa5e09915c2d2a7e5834b9fc77a4ade6e">H_LETTER_BTN_C1</a>;</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;      <span class="keywordflow">switch</span> (uKeyIndex) {</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="a00326.html#a73dac7d477e952462a0eca040c5a11db">BACKSP_TYPE_C1</a>:</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;             nWidth = <a class="code" href="a00326.html#aba8d2b8046853768172d20780461ec80">W_BACKSP_C1</a> + 2 * <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>;</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;             nHeight = <a class="code" href="a00326.html#aa5e09915c2d2a7e5834b9fc77a4ade6e">H_LETTER_BTN_C1</a>;</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;             <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="a00326.html#a59adc1fc7d985eb7dfbcdda3e7e5b9ca">TAB_TYPE_C1</a>:</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;             nWidth = <a class="code" href="a00326.html#a4adf41b07bfcfa2b8e34a8ec2cae0a69">W_TAB_C1</a> + 2 * <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>;</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;             nHeight = <a class="code" href="a00326.html#aa5e09915c2d2a7e5834b9fc77a4ade6e">H_LETTER_BTN_C1</a>;</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;             <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="a00326.html#ae63d887af6607aaf29439fb77ab6b1cb">CAPS_TYPE_C1</a>:</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;             nWidth = <a class="code" href="a00326.html#ab74c3012dc2d55efc7ca964764cc6e68">W_CAPS_C1</a> + 2 * <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>;</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;             nHeight = <a class="code" href="a00326.html#aa5e09915c2d2a7e5834b9fc77a4ade6e">H_LETTER_BTN_C1</a>;</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;             <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="a00326.html#a5ad2523dd56ebded766e8bfc421b6b1c">ENTER_TYPE_C1</a>:</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;             nWidth = <a class="code" href="a00326.html#aace729b490a4a876d4cfb1f0a31aef87">W_ENTER_C1</a> + 2 * <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>;</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;             nHeight = <a class="code" href="a00326.html#aa5e09915c2d2a7e5834b9fc77a4ade6e">H_LETTER_BTN_C1</a>;</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;             <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="a00326.html#af9d4e80dbaad989ffe11a6db6c15a081">SHIFT_TYPE_C1</a>:</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;             nWidth = <a class="code" href="a00326.html#a74ec5ff34033135c42c613ea92033798">W_SHIFT_C1</a> + 2 * <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>;</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;             nHeight = <a class="code" href="a00326.html#aa5e09915c2d2a7e5834b9fc77a4ade6e">H_LETTER_BTN_C1</a>;</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;             <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="a00326.html#a009f25f0d786dbca452a7850f1144ab3">INS_TYPE_C1</a>:</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;             nWidth = <a class="code" href="a00326.html#a89fffd5c22e88300c95c7ba012514a07">W_INS_C1</a> + 2 * <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>;</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;             nHeight = <a class="code" href="a00326.html#ab500d2734b8ecfa1afd8c5adc42e27ba">H_BOTTOM_BTN_C1</a>;</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;             <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="a00326.html#aa5e87e53d55935b0ea0819b9bd143e2f">DEL_TYPE_C1</a>:</div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;             nWidth = <a class="code" href="a00326.html#a9038a2d9da4adb14c0a48c739704b372">W_DEL_C1</a> + 2 * <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>;</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;             nHeight = <a class="code" href="a00326.html#ab500d2734b8ecfa1afd8c5adc42e27ba">H_BOTTOM_BTN_C1</a>;</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;             <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="a00326.html#a65b086e9249b71063784c2116fe9c39d">SPACE_TYPE_C1</a>:</div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;             nWidth = <a class="code" href="a00326.html#adab3e238171f9b98d6ca17061979d4b6">W_SPACE_C1</a> + 2 * <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>;</div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;             nHeight = <a class="code" href="a00326.html#ab500d2734b8ecfa1afd8c5adc42e27ba">H_BOTTOM_BTN_C1</a>;</div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;             <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="a00326.html#ad725b632947c29595d586ff59f81117c">ESC_TYPE_C1</a>:</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;             nWidth = <a class="code" href="a00326.html#ad9c4914971307081724c1e4ce4ebf779">W_ESC_C1</a> + 2 * <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>;</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;             nHeight = <a class="code" href="a00326.html#ab500d2734b8ecfa1afd8c5adc42e27ba">H_BOTTOM_BTN_C1</a>;</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;             <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;      }</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;    }</div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160; </div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;    BitBlt(hDC, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[uKeyIndex].x, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[uKeyIndex].y,</div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;           nWidth, nHeight, hDC, <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[uKeyIndex].x , <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[uKeyIndex].y,</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;           DSTINVERT);</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160; </div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;    <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00326_source.html#l00125">BACKSP_TYPE_C1</a>, <a class="el" href="a00326_source.html#l00082">BORDER_C1</a>, <a class="el" href="a00326_source.html#l00127">CAPS_TYPE_C1</a>, <a class="el" href="a00326_source.html#l00131">DEL_TYPE_C1</a>, <a class="el" href="a00326_source.html#l00128">ENTER_TYPE_C1</a>, <a class="el" href="a00326_source.html#l00133">ESC_TYPE_C1</a>, <a class="el" href="a00317_source.html#l00036">gptButtonPos</a>, <a class="el" href="a00326_source.html#l00087">H_BOTTOM_BTN_C1</a>, <a class="el" href="a00326_source.html#l00084">H_LETTER_BTN_C1</a>, <a class="el" href="a00326_source.html#l00130">INS_TYPE_C1</a>, <a class="el" href="a00326_source.html#l00117">LETTER_NUM_C1</a>, <a class="el" href="a00326_source.html#l00129">SHIFT_TYPE_C1</a>, <a class="el" href="a00326_source.html#l00132">SPACE_TYPE_C1</a>, <a class="el" href="a00326_source.html#l00126">TAB_TYPE_C1</a>, <a class="el" href="a00326_source.html#l00091">W_BACKSP_C1</a>, <a class="el" href="a00326_source.html#l00095">W_CAPS_C1</a>, <a class="el" href="a00326_source.html#l00103">W_DEL_C1</a>, <a class="el" href="a00326_source.html#l00097">W_ENTER_C1</a>, <a class="el" href="a00326_source.html#l00107">W_ESC_C1</a>, <a class="el" href="a00326_source.html#l00101">W_INS_C1</a>, <a class="el" href="a00326_source.html#l00083">W_LETTER_BTN_C1</a>, <a class="el" href="a00326_source.html#l00099">W_SHIFT_C1</a>, <a class="el" href="a00326_source.html#l00105">W_SPACE_C1</a> , 以及 <a class="el" href="a00326_source.html#l00093">W_TAB_C1</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00317_source.html#l00786">SKC1ButtonDown()</a>, <a class="el" href="a00317_source.html#l00981">SKC1ButtonUp()</a>, <a class="el" href="a00317_source.html#l00914">SKC1MouseMove()</a> , 以及 <a class="el" href="a00317_source.html#l00499">UpdateSKC1Window()</a>.</p>

</div>
</div>
<a id="abe3bc581a766cbb9f687bef72dacef16"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abe3bc581a766cbb9f687bef72dacef16">&#9670;&nbsp;</a></span>SKC1MouseMove()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL SKC1MouseMove </td>
          <td>(</td>
          <td class="paramtype">HWND&#160;</td>
          <td class="paramname"><em>hSKWnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">WPARAM&#160;</td>
          <td class="paramname"><em>wParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LPARAM&#160;</td>
          <td class="paramname"><em>lParam</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00317_source.html">sftkbdc1.c</a> 第 <a class="el" href="a00317_source.html#l00914">914</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00918"></a><span class="lineno">  918</span>&#160;{</div>
<div class="line"><a name="l00919"></a><span class="lineno">  919</span>&#160;    HGLOBAL   hSKC1Ctxt;</div>
<div class="line"><a name="l00920"></a><span class="lineno">  920</span>&#160;    <a class="code" href="a01989.html">PSKC1CTXT</a> pSKC1Ctxt;</div>
<div class="line"><a name="l00921"></a><span class="lineno">  921</span>&#160; </div>
<div class="line"><a name="l00922"></a><span class="lineno">  922</span>&#160;    <span class="comment">// get and lock hSKC1Ctxt</span></div>
<div class="line"><a name="l00923"></a><span class="lineno">  923</span>&#160;    hSKC1Ctxt = (HGLOBAL)GetWindowLong(hSKWnd, <a class="code" href="a00326.html#ae1373879262ab41a35d20c2e9a05be93">SKC1_CONTEXT</a>);</div>
<div class="line"><a name="l00924"></a><span class="lineno">  924</span>&#160;    <span class="keywordflow">if</span> (!hSKC1Ctxt) {</div>
<div class="line"><a name="l00925"></a><span class="lineno">  925</span>&#160;       <span class="keywordflow">return</span> (FALSE);</div>
<div class="line"><a name="l00926"></a><span class="lineno">  926</span>&#160;    }</div>
<div class="line"><a name="l00927"></a><span class="lineno">  927</span>&#160; </div>
<div class="line"><a name="l00928"></a><span class="lineno">  928</span>&#160;    pSKC1Ctxt = (<a class="code" href="a00326.html#a440a5d5f45262a6e01c296aacbc72fcd">PSKC1CTXT</a>)GlobalLock(hSKC1Ctxt);</div>
<div class="line"><a name="l00929"></a><span class="lineno">  929</span>&#160;    <span class="keywordflow">if</span> (!pSKC1Ctxt) {</div>
<div class="line"><a name="l00930"></a><span class="lineno">  930</span>&#160;       <span class="keywordflow">return</span> (FALSE);</div>
<div class="line"><a name="l00931"></a><span class="lineno">  931</span>&#160;    }</div>
<div class="line"><a name="l00932"></a><span class="lineno">  932</span>&#160; </div>
<div class="line"><a name="l00933"></a><span class="lineno">  933</span>&#160;    <span class="keywordflow">if</span> (pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a2e2db58916ba069b37aa1841f17899fd">uState</a> &amp; <a class="code" href="a00326.html#a2ed485495b16ac5b969bbd935f52cdf4">FLAG_DRAG_C1</a>) {</div>
<div class="line"><a name="l00934"></a><span class="lineno">  934</span>&#160;       <a class="code" href="a00317.html#a765ff7b44dcaa170f5d1ad8800ea525f">SKC1DrawDragBorder</a>(hSKWnd, &amp;pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a8751aa78ac37131162ff3b8aaac48ec7">ptSkCursor</a>,</div>
<div class="line"><a name="l00935"></a><span class="lineno">  935</span>&#160;                          &amp;pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a828db86063134492f8f5209fcb81773c">ptSkOffset</a>);</div>
<div class="line"><a name="l00936"></a><span class="lineno">  936</span>&#160; </div>
<div class="line"><a name="l00937"></a><span class="lineno">  937</span>&#160;       <a class="code" href="a03743.html#a7d76f6fb4b57547b99e1a28df2e7a9ca">GetCursorPos</a>(&amp;pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a8751aa78ac37131162ff3b8aaac48ec7">ptSkCursor</a>);</div>
<div class="line"><a name="l00938"></a><span class="lineno">  938</span>&#160; </div>
<div class="line"><a name="l00939"></a><span class="lineno">  939</span>&#160;       <a class="code" href="a00317.html#a765ff7b44dcaa170f5d1ad8800ea525f">SKC1DrawDragBorder</a>(hSKWnd, &amp;pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a8751aa78ac37131162ff3b8aaac48ec7">ptSkCursor</a>,</div>
<div class="line"><a name="l00940"></a><span class="lineno">  940</span>&#160;                          &amp;pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a828db86063134492f8f5209fcb81773c">ptSkOffset</a>);</div>
<div class="line"><a name="l00941"></a><span class="lineno">  941</span>&#160;    } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a41ab4504400fe8702ae95ed0a4dec8a5">uKeyIndex</a> != -1) {</div>
<div class="line"><a name="l00942"></a><span class="lineno">  942</span>&#160;       HDC      hDC, hMemDC;</div>
<div class="line"><a name="l00943"></a><span class="lineno">  943</span>&#160;       HBITMAP  hOldBmp;</div>
<div class="line"><a name="l00944"></a><span class="lineno">  944</span>&#160;       POINT    ptSkOffset;</div>
<div class="line"><a name="l00945"></a><span class="lineno">  945</span>&#160;       <span class="keywordtype">int</span>      uKeyIndex;</div>
<div class="line"><a name="l00946"></a><span class="lineno">  946</span>&#160; </div>
<div class="line"><a name="l00947"></a><span class="lineno">  947</span>&#160;       <a class="code" href="a03743.html#a7d76f6fb4b57547b99e1a28df2e7a9ca">GetCursorPos</a>(&amp;ptSkOffset);</div>
<div class="line"><a name="l00948"></a><span class="lineno">  948</span>&#160;       <a class="code" href="a03743.html#acf929a1d55d4b36c6357b351ff3528f1">ScreenToClient</a>(hSKWnd, &amp;ptSkOffset);</div>
<div class="line"><a name="l00949"></a><span class="lineno">  949</span>&#160;       uKeyIndex = <a class="code" href="a00317.html#a69dff57edf1b5c8e33c21e2c65fe21d6">SKC1MousePosition</a>(&amp;ptSkOffset);</div>
<div class="line"><a name="l00950"></a><span class="lineno">  950</span>&#160; </div>
<div class="line"><a name="l00951"></a><span class="lineno">  951</span>&#160;       hDC = GetDC(hSKWnd);</div>
<div class="line"><a name="l00952"></a><span class="lineno">  952</span>&#160;       hMemDC = CreateCompatibleDC(hDC);</div>
<div class="line"><a name="l00953"></a><span class="lineno">  953</span>&#160;       hOldBmp = SelectObject(hMemDC, pSKC1Ctxt-&gt;<a class="code" href="a01989.html#ad3f03c31eccbe1588a4a42c3042c873b">hSoftkbd</a>);</div>
<div class="line"><a name="l00954"></a><span class="lineno">  954</span>&#160; </div>
<div class="line"><a name="l00955"></a><span class="lineno">  955</span>&#160;       <span class="keywordflow">if</span> (((pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a2e2db58916ba069b37aa1841f17899fd">uState</a> &amp; <a class="code" href="a00326.html#aacb45705c7d03d36720887cd7bb0d03c">FLAG_FOCUS_C1</a>) &amp;&amp; (uKeyIndex != pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a41ab4504400fe8702ae95ed0a4dec8a5">uKeyIndex</a>)) ||</div>
<div class="line"><a name="l00956"></a><span class="lineno">  956</span>&#160;           (!(pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a2e2db58916ba069b37aa1841f17899fd">uState</a> &amp; <a class="code" href="a00326.html#aacb45705c7d03d36720887cd7bb0d03c">FLAG_FOCUS_C1</a>) &amp;&amp; (uKeyIndex == pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a41ab4504400fe8702ae95ed0a4dec8a5">uKeyIndex</a>))) {</div>
<div class="line"><a name="l00957"></a><span class="lineno">  957</span>&#160;          <span class="keywordflow">if</span> ((pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a41ab4504400fe8702ae95ed0a4dec8a5">uKeyIndex</a> != <a class="code" href="a00326.html#af9d4e80dbaad989ffe11a6db6c15a081">SHIFT_TYPE_C1</a>) ||</div>
<div class="line"><a name="l00958"></a><span class="lineno">  958</span>&#160;              !(pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a2e2db58916ba069b37aa1841f17899fd">uState</a> &amp; <a class="code" href="a00326.html#a4bc23928c8a2d5465ac8bf4829e5c838">FLAG_SHIFT_C1</a>)) {</div>
<div class="line"><a name="l00959"></a><span class="lineno">  959</span>&#160;             <a class="code" href="a00317.html#a2cd6e519efe87dd6ec991185300d4c64">SKC1InvertButton</a>(hDC, pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a41ab4504400fe8702ae95ed0a4dec8a5">uKeyIndex</a>);</div>
<div class="line"><a name="l00960"></a><span class="lineno">  960</span>&#160;             <a class="code" href="a00317.html#a2cd6e519efe87dd6ec991185300d4c64">SKC1InvertButton</a>(hMemDC, pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a41ab4504400fe8702ae95ed0a4dec8a5">uKeyIndex</a>);</div>
<div class="line"><a name="l00961"></a><span class="lineno">  961</span>&#160;          }</div>
<div class="line"><a name="l00962"></a><span class="lineno">  962</span>&#160;          pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a2e2db58916ba069b37aa1841f17899fd">uState</a> ^= <a class="code" href="a00326.html#aacb45705c7d03d36720887cd7bb0d03c">FLAG_FOCUS_C1</a>;</div>
<div class="line"><a name="l00963"></a><span class="lineno">  963</span>&#160;       }</div>
<div class="line"><a name="l00964"></a><span class="lineno">  964</span>&#160; </div>
<div class="line"><a name="l00965"></a><span class="lineno">  965</span>&#160;       SelectObject(hMemDC, hOldBmp);</div>
<div class="line"><a name="l00966"></a><span class="lineno">  966</span>&#160;       DeleteDC(hMemDC);</div>
<div class="line"><a name="l00967"></a><span class="lineno">  967</span>&#160;       <a class="code" href="a00026.html#ae35231899b6d8b4a5e8d23b23b458104">ReleaseDC</a>(hSKWnd,hDC);</div>
<div class="line"><a name="l00968"></a><span class="lineno">  968</span>&#160;    } </div>
<div class="line"><a name="l00969"></a><span class="lineno">  969</span>&#160; </div>
<div class="line"><a name="l00970"></a><span class="lineno">  970</span>&#160;    <span class="comment">// unlock hSKC1Ctxt</span></div>
<div class="line"><a name="l00971"></a><span class="lineno">  971</span>&#160;    GlobalUnlock(hSKC1Ctxt);</div>
<div class="line"><a name="l00972"></a><span class="lineno">  972</span>&#160; </div>
<div class="line"><a name="l00973"></a><span class="lineno">  973</span>&#160;    <span class="keywordflow">return</span> (TRUE);</div>
<div class="line"><a name="l00974"></a><span class="lineno">  974</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00326_source.html#l00151">FLAG_DRAG_C1</a>, <a class="el" href="a00326_source.html#l00152">FLAG_FOCUS_C1</a>, <a class="el" href="a00326_source.html#l00150">FLAG_SHIFT_C1</a>, <a class="el" href="a03743_source.html#l00746">GetCursorPos()</a>, <a class="el" href="a00326_source.html#l00158">_tagSKC1CTXT::hSoftkbd</a>, <a class="el" href="a00326_source.html#l00161">_tagSKC1CTXT::ptSkCursor</a>, <a class="el" href="a00326_source.html#l00162">_tagSKC1CTXT::ptSkOffset</a>, <a class="el" href="a00026_source.html#l00885">ReleaseDC()</a>, <a class="el" href="a03743_source.html#l00784">ScreenToClient()</a>, <a class="el" href="a00326_source.html#l00129">SHIFT_TYPE_C1</a>, <a class="el" href="a00326_source.html#l00148">SKC1_CONTEXT</a>, <a class="el" href="a00317_source.html#l00613">SKC1DrawDragBorder()</a>, <a class="el" href="a00317_source.html#l00157">SKC1InvertButton()</a>, <a class="el" href="a00317_source.html#l00680">SKC1MousePosition()</a>, <a class="el" href="a00326_source.html#l00160">_tagSKC1CTXT::uKeyIndex</a> , 以及 <a class="el" href="a00326_source.html#l00157">_tagSKC1CTXT::uState</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00317_source.html#l01106">SKWndProcC1()</a>.</p>

</div>
</div>
<a id="a69dff57edf1b5c8e33c21e2c65fe21d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a69dff57edf1b5c8e33c21e2c65fe21d6">&#9670;&nbsp;</a></span>SKC1MousePosition()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00953.html#a392e62da233ed3e2f7c3fd4f487a3896">INT</a> SKC1MousePosition </td>
          <td>(</td>
          <td class="paramtype">LPPOINT&#160;</td>
          <td class="paramname"><em>lpptCursor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00317_source.html">sftkbdc1.c</a> 第 <a class="el" href="a00317_source.html#l00680">680</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00682"></a><span class="lineno">  682</span>&#160;{</div>
<div class="line"><a name="l00683"></a><span class="lineno">  683</span>&#160;    <span class="keywordtype">int</span>   i;</div>
<div class="line"><a name="l00684"></a><span class="lineno">  684</span>&#160; </div>
<div class="line"><a name="l00685"></a><span class="lineno">  685</span>&#160;    <span class="comment">// letter buttons</span></div>
<div class="line"><a name="l00686"></a><span class="lineno">  686</span>&#160;    <span class="keywordflow">for</span> (i=0; i &lt; <a class="code" href="a00326.html#adefecae28b1b29641db21a45d993af7d">LETTER_NUM_C1</a>; i++){</div>
<div class="line"><a name="l00687"></a><span class="lineno">  687</span>&#160;       <span class="keywordflow">if</span> (lpptCursor-&gt;y &gt;= <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].y &amp;&amp;</div>
<div class="line"><a name="l00688"></a><span class="lineno">  688</span>&#160;           lpptCursor-&gt;y &lt; <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].y + <a class="code" href="a00326.html#aa5e09915c2d2a7e5834b9fc77a4ade6e">H_LETTER_BTN_C1</a>){</div>
<div class="line"><a name="l00689"></a><span class="lineno">  689</span>&#160;         <span class="keywordflow">if</span> (lpptCursor-&gt;x &gt;= <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].x &amp;&amp;</div>
<div class="line"><a name="l00690"></a><span class="lineno">  690</span>&#160;             lpptCursor-&gt;x &lt; <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].x + <a class="code" href="a00326.html#a68dbd84550bd603ed9c9d5507f96f276">W_LETTER_BTN_C1</a>){</div>
<div class="line"><a name="l00691"></a><span class="lineno">  691</span>&#160;            <span class="keywordflow">return</span> (i);</div>
<div class="line"><a name="l00692"></a><span class="lineno">  692</span>&#160;         }</div>
<div class="line"><a name="l00693"></a><span class="lineno">  693</span>&#160;       }</div>
<div class="line"><a name="l00694"></a><span class="lineno">  694</span>&#160;    }</div>
<div class="line"><a name="l00695"></a><span class="lineno">  695</span>&#160; </div>
<div class="line"><a name="l00696"></a><span class="lineno">  696</span>&#160;    <span class="comment">// other buttons</span></div>
<div class="line"><a name="l00697"></a><span class="lineno">  697</span>&#160;    i = <a class="code" href="a00326.html#a73dac7d477e952462a0eca040c5a11db">BACKSP_TYPE_C1</a>;</div>
<div class="line"><a name="l00698"></a><span class="lineno">  698</span>&#160;    <span class="keywordflow">if</span> (lpptCursor-&gt;y &gt;= <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].y &amp;&amp;</div>
<div class="line"><a name="l00699"></a><span class="lineno">  699</span>&#160;        lpptCursor-&gt;y &lt; <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].y + <a class="code" href="a00326.html#addba81f8ef915a51899a9538162129b4">H_BACKSP_C1</a> + 2 * <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>){</div>
<div class="line"><a name="l00700"></a><span class="lineno">  700</span>&#160;      <span class="keywordflow">if</span> (lpptCursor-&gt;x &gt;= <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].x &amp;&amp;</div>
<div class="line"><a name="l00701"></a><span class="lineno">  701</span>&#160;          lpptCursor-&gt;x &lt; <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].x + <a class="code" href="a00326.html#aba8d2b8046853768172d20780461ec80">W_BACKSP_C1</a> + 2 * <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>){</div>
<div class="line"><a name="l00702"></a><span class="lineno">  702</span>&#160;         <span class="keywordflow">return</span> (i);</div>
<div class="line"><a name="l00703"></a><span class="lineno">  703</span>&#160;      }</div>
<div class="line"><a name="l00704"></a><span class="lineno">  704</span>&#160;    }</div>
<div class="line"><a name="l00705"></a><span class="lineno">  705</span>&#160; </div>
<div class="line"><a name="l00706"></a><span class="lineno">  706</span>&#160;    i = <a class="code" href="a00326.html#a59adc1fc7d985eb7dfbcdda3e7e5b9ca">TAB_TYPE_C1</a>;</div>
<div class="line"><a name="l00707"></a><span class="lineno">  707</span>&#160;    <span class="keywordflow">if</span> (lpptCursor-&gt;y &gt;= <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].y &amp;&amp;</div>
<div class="line"><a name="l00708"></a><span class="lineno">  708</span>&#160;        lpptCursor-&gt;y &lt; <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].y + <a class="code" href="a00326.html#aac799a057e468d7296192abd011c14d0">H_TAB_C1</a> + 2 * <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>){</div>
<div class="line"><a name="l00709"></a><span class="lineno">  709</span>&#160;      <span class="keywordflow">if</span> (lpptCursor-&gt;x &gt;= <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].x &amp;&amp;</div>
<div class="line"><a name="l00710"></a><span class="lineno">  710</span>&#160;          lpptCursor-&gt;x &lt; <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].x + <a class="code" href="a00326.html#a4adf41b07bfcfa2b8e34a8ec2cae0a69">W_TAB_C1</a> + 2 * <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>){</div>
<div class="line"><a name="l00711"></a><span class="lineno">  711</span>&#160;         <span class="keywordflow">return</span> (i);</div>
<div class="line"><a name="l00712"></a><span class="lineno">  712</span>&#160;      }</div>
<div class="line"><a name="l00713"></a><span class="lineno">  713</span>&#160;    }</div>
<div class="line"><a name="l00714"></a><span class="lineno">  714</span>&#160; </div>
<div class="line"><a name="l00715"></a><span class="lineno">  715</span>&#160;    i = <a class="code" href="a00326.html#ae63d887af6607aaf29439fb77ab6b1cb">CAPS_TYPE_C1</a>;</div>
<div class="line"><a name="l00716"></a><span class="lineno">  716</span>&#160;    <span class="keywordflow">if</span> (lpptCursor-&gt;y &gt;= <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].y &amp;&amp;</div>
<div class="line"><a name="l00717"></a><span class="lineno">  717</span>&#160;        lpptCursor-&gt;y &lt; <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].y + <a class="code" href="a00326.html#ac0a31b9296dbac9c297ce3de8cb20415">H_CAPS_C1</a> + 2 * <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>){</div>
<div class="line"><a name="l00718"></a><span class="lineno">  718</span>&#160;      <span class="keywordflow">if</span> (lpptCursor-&gt;x &gt;= <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].x &amp;&amp;</div>
<div class="line"><a name="l00719"></a><span class="lineno">  719</span>&#160;          lpptCursor-&gt;x &lt; <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].x + <a class="code" href="a00326.html#ab74c3012dc2d55efc7ca964764cc6e68">W_CAPS_C1</a> + 2 * <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>){</div>
<div class="line"><a name="l00720"></a><span class="lineno">  720</span>&#160;         <span class="keywordflow">return</span> (i);</div>
<div class="line"><a name="l00721"></a><span class="lineno">  721</span>&#160;      }</div>
<div class="line"><a name="l00722"></a><span class="lineno">  722</span>&#160;    }</div>
<div class="line"><a name="l00723"></a><span class="lineno">  723</span>&#160; </div>
<div class="line"><a name="l00724"></a><span class="lineno">  724</span>&#160;    i = <a class="code" href="a00326.html#a5ad2523dd56ebded766e8bfc421b6b1c">ENTER_TYPE_C1</a>;</div>
<div class="line"><a name="l00725"></a><span class="lineno">  725</span>&#160;    <span class="keywordflow">if</span> (lpptCursor-&gt;y &gt;= <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].y &amp;&amp;</div>
<div class="line"><a name="l00726"></a><span class="lineno">  726</span>&#160;        lpptCursor-&gt;y &lt; <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].y + <a class="code" href="a00326.html#a13302a0e66c4a147612ac4152bbe0b59">H_ENTER_C1</a> + 2 * <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>){</div>
<div class="line"><a name="l00727"></a><span class="lineno">  727</span>&#160;      <span class="keywordflow">if</span> (lpptCursor-&gt;x &gt;= <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].x &amp;&amp;</div>
<div class="line"><a name="l00728"></a><span class="lineno">  728</span>&#160;          lpptCursor-&gt;x &lt; <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].x + <a class="code" href="a00326.html#aace729b490a4a876d4cfb1f0a31aef87">W_ENTER_C1</a> + 2 * <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>){</div>
<div class="line"><a name="l00729"></a><span class="lineno">  729</span>&#160;         <span class="keywordflow">return</span> (i);</div>
<div class="line"><a name="l00730"></a><span class="lineno">  730</span>&#160;      }</div>
<div class="line"><a name="l00731"></a><span class="lineno">  731</span>&#160;    }</div>
<div class="line"><a name="l00732"></a><span class="lineno">  732</span>&#160; </div>
<div class="line"><a name="l00733"></a><span class="lineno">  733</span>&#160;    i = <a class="code" href="a00326.html#af9d4e80dbaad989ffe11a6db6c15a081">SHIFT_TYPE_C1</a>;</div>
<div class="line"><a name="l00734"></a><span class="lineno">  734</span>&#160;    <span class="keywordflow">if</span> (lpptCursor-&gt;y &gt;= <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].y &amp;&amp;</div>
<div class="line"><a name="l00735"></a><span class="lineno">  735</span>&#160;        lpptCursor-&gt;y &lt; <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].y + <a class="code" href="a00326.html#a4661b3621ad42991612528a7b6ceb72c">H_SHIFT_C1</a> + 2 * <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>){</div>
<div class="line"><a name="l00736"></a><span class="lineno">  736</span>&#160;      <span class="keywordflow">if</span> (lpptCursor-&gt;x &gt;= <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].x &amp;&amp;</div>
<div class="line"><a name="l00737"></a><span class="lineno">  737</span>&#160;          lpptCursor-&gt;x &lt; <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].x + <a class="code" href="a00326.html#a74ec5ff34033135c42c613ea92033798">W_SHIFT_C1</a> + 2 * <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>){</div>
<div class="line"><a name="l00738"></a><span class="lineno">  738</span>&#160;         <span class="keywordflow">return</span> (i);</div>
<div class="line"><a name="l00739"></a><span class="lineno">  739</span>&#160;      }</div>
<div class="line"><a name="l00740"></a><span class="lineno">  740</span>&#160;    }</div>
<div class="line"><a name="l00741"></a><span class="lineno">  741</span>&#160; </div>
<div class="line"><a name="l00742"></a><span class="lineno">  742</span>&#160;    i = <a class="code" href="a00326.html#ad725b632947c29595d586ff59f81117c">ESC_TYPE_C1</a>;</div>
<div class="line"><a name="l00743"></a><span class="lineno">  743</span>&#160;    <span class="keywordflow">if</span> (lpptCursor-&gt;y &gt;= <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].y &amp;&amp;</div>
<div class="line"><a name="l00744"></a><span class="lineno">  744</span>&#160;        lpptCursor-&gt;y &lt; <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].y + <a class="code" href="a00326.html#a84b4293626673287a7adb3aa28131e0e">H_ESC_C1</a> + 2 * <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>){</div>
<div class="line"><a name="l00745"></a><span class="lineno">  745</span>&#160;      <span class="keywordflow">if</span> (lpptCursor-&gt;x &gt;= <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].x &amp;&amp;</div>
<div class="line"><a name="l00746"></a><span class="lineno">  746</span>&#160;          lpptCursor-&gt;x &lt; <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].x + <a class="code" href="a00326.html#ad9c4914971307081724c1e4ce4ebf779">W_ESC_C1</a> + 2 * <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>){</div>
<div class="line"><a name="l00747"></a><span class="lineno">  747</span>&#160;         <span class="keywordflow">return</span> (i);</div>
<div class="line"><a name="l00748"></a><span class="lineno">  748</span>&#160;      }</div>
<div class="line"><a name="l00749"></a><span class="lineno">  749</span>&#160;    }</div>
<div class="line"><a name="l00750"></a><span class="lineno">  750</span>&#160; </div>
<div class="line"><a name="l00751"></a><span class="lineno">  751</span>&#160;    i = <a class="code" href="a00326.html#a65b086e9249b71063784c2116fe9c39d">SPACE_TYPE_C1</a>;</div>
<div class="line"><a name="l00752"></a><span class="lineno">  752</span>&#160;    <span class="keywordflow">if</span> (lpptCursor-&gt;y &gt;= <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].y &amp;&amp;</div>
<div class="line"><a name="l00753"></a><span class="lineno">  753</span>&#160;        lpptCursor-&gt;y &lt; <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].y + <a class="code" href="a00326.html#aa73102692e4e7b6e743c0641054eb4fc">H_SPACE_C1</a> + 2 * <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>){</div>
<div class="line"><a name="l00754"></a><span class="lineno">  754</span>&#160;      <span class="keywordflow">if</span> (lpptCursor-&gt;x &gt;= <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].x &amp;&amp;</div>
<div class="line"><a name="l00755"></a><span class="lineno">  755</span>&#160;          lpptCursor-&gt;x &lt; <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].x + <a class="code" href="a00326.html#adab3e238171f9b98d6ca17061979d4b6">W_SPACE_C1</a> + 2 * <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>){</div>
<div class="line"><a name="l00756"></a><span class="lineno">  756</span>&#160;         <span class="keywordflow">return</span> (i);</div>
<div class="line"><a name="l00757"></a><span class="lineno">  757</span>&#160;      }</div>
<div class="line"><a name="l00758"></a><span class="lineno">  758</span>&#160;    }</div>
<div class="line"><a name="l00759"></a><span class="lineno">  759</span>&#160; </div>
<div class="line"><a name="l00760"></a><span class="lineno">  760</span>&#160;    i = <a class="code" href="a00326.html#a009f25f0d786dbca452a7850f1144ab3">INS_TYPE_C1</a>;</div>
<div class="line"><a name="l00761"></a><span class="lineno">  761</span>&#160;    <span class="keywordflow">if</span> (lpptCursor-&gt;y &gt;= <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].y &amp;&amp;</div>
<div class="line"><a name="l00762"></a><span class="lineno">  762</span>&#160;        lpptCursor-&gt;y &lt; <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].y + <a class="code" href="a00326.html#ae4e6ad299e679faf36e694f2fc5f15f7">H_INS_C1</a> + 2 * <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>){</div>
<div class="line"><a name="l00763"></a><span class="lineno">  763</span>&#160;      <span class="keywordflow">if</span> (lpptCursor-&gt;x &gt;= <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].x &amp;&amp;</div>
<div class="line"><a name="l00764"></a><span class="lineno">  764</span>&#160;          lpptCursor-&gt;x &lt; <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].x + <a class="code" href="a00326.html#a89fffd5c22e88300c95c7ba012514a07">W_INS_C1</a> + 2 * <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>){</div>
<div class="line"><a name="l00765"></a><span class="lineno">  765</span>&#160;         <span class="keywordflow">return</span> (i);</div>
<div class="line"><a name="l00766"></a><span class="lineno">  766</span>&#160;      }</div>
<div class="line"><a name="l00767"></a><span class="lineno">  767</span>&#160;    }</div>
<div class="line"><a name="l00768"></a><span class="lineno">  768</span>&#160; </div>
<div class="line"><a name="l00769"></a><span class="lineno">  769</span>&#160;    i = <a class="code" href="a00326.html#aa5e87e53d55935b0ea0819b9bd143e2f">DEL_TYPE_C1</a>;</div>
<div class="line"><a name="l00770"></a><span class="lineno">  770</span>&#160;    <span class="keywordflow">if</span> (lpptCursor-&gt;y &gt;= <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].y &amp;&amp;</div>
<div class="line"><a name="l00771"></a><span class="lineno">  771</span>&#160;        lpptCursor-&gt;y &lt; <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].y + <a class="code" href="a00326.html#a8d06392fc0478d449cac710f09446f9c">H_DEL_C1</a> + 2 * <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>){</div>
<div class="line"><a name="l00772"></a><span class="lineno">  772</span>&#160;      <span class="keywordflow">if</span> (lpptCursor-&gt;x &gt;= <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].x &amp;&amp;</div>
<div class="line"><a name="l00773"></a><span class="lineno">  773</span>&#160;          lpptCursor-&gt;x &lt; <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].x + <a class="code" href="a00326.html#a9038a2d9da4adb14c0a48c739704b372">W_DEL_C1</a> + 2 * <a class="code" href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a>){</div>
<div class="line"><a name="l00774"></a><span class="lineno">  774</span>&#160;         <span class="keywordflow">return</span> (i);</div>
<div class="line"><a name="l00775"></a><span class="lineno">  775</span>&#160;      }</div>
<div class="line"><a name="l00776"></a><span class="lineno">  776</span>&#160;    }</div>
<div class="line"><a name="l00777"></a><span class="lineno">  777</span>&#160; </div>
<div class="line"><a name="l00778"></a><span class="lineno">  778</span>&#160;    <span class="keywordflow">return</span> (-1);</div>
<div class="line"><a name="l00779"></a><span class="lineno">  779</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00326_source.html#l00125">BACKSP_TYPE_C1</a>, <a class="el" href="a00326_source.html#l00082">BORDER_C1</a>, <a class="el" href="a00326_source.html#l00127">CAPS_TYPE_C1</a>, <a class="el" href="a00326_source.html#l00131">DEL_TYPE_C1</a>, <a class="el" href="a00326_source.html#l00128">ENTER_TYPE_C1</a>, <a class="el" href="a00326_source.html#l00133">ESC_TYPE_C1</a>, <a class="el" href="a00317_source.html#l00036">gptButtonPos</a>, <a class="el" href="a00326_source.html#l00092">H_BACKSP_C1</a>, <a class="el" href="a00326_source.html#l00096">H_CAPS_C1</a>, <a class="el" href="a00326_source.html#l00104">H_DEL_C1</a>, <a class="el" href="a00326_source.html#l00098">H_ENTER_C1</a>, <a class="el" href="a00326_source.html#l00108">H_ESC_C1</a>, <a class="el" href="a00326_source.html#l00102">H_INS_C1</a>, <a class="el" href="a00326_source.html#l00084">H_LETTER_BTN_C1</a>, <a class="el" href="a00326_source.html#l00100">H_SHIFT_C1</a>, <a class="el" href="a00326_source.html#l00106">H_SPACE_C1</a>, <a class="el" href="a00326_source.html#l00094">H_TAB_C1</a>, <a class="el" href="a00326_source.html#l00130">INS_TYPE_C1</a>, <a class="el" href="a00326_source.html#l00117">LETTER_NUM_C1</a>, <a class="el" href="a00326_source.html#l00129">SHIFT_TYPE_C1</a>, <a class="el" href="a00326_source.html#l00132">SPACE_TYPE_C1</a>, <a class="el" href="a00326_source.html#l00126">TAB_TYPE_C1</a>, <a class="el" href="a00326_source.html#l00091">W_BACKSP_C1</a>, <a class="el" href="a00326_source.html#l00095">W_CAPS_C1</a>, <a class="el" href="a00326_source.html#l00103">W_DEL_C1</a>, <a class="el" href="a00326_source.html#l00097">W_ENTER_C1</a>, <a class="el" href="a00326_source.html#l00107">W_ESC_C1</a>, <a class="el" href="a00326_source.html#l00101">W_INS_C1</a>, <a class="el" href="a00326_source.html#l00083">W_LETTER_BTN_C1</a>, <a class="el" href="a00326_source.html#l00099">W_SHIFT_C1</a>, <a class="el" href="a00326_source.html#l00105">W_SPACE_C1</a> , 以及 <a class="el" href="a00326_source.html#l00093">W_TAB_C1</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00317_source.html#l00914">SKC1MouseMove()</a> , 以及 <a class="el" href="a00317_source.html#l00853">SKC1SetCursor()</a>.</p>

</div>
</div>
<a id="a9dba611529a7f969cd0223fe2e378b40"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9dba611529a7f969cd0223fe2e378b40">&#9670;&nbsp;</a></span>SKC1SetCursor()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL SKC1SetCursor </td>
          <td>(</td>
          <td class="paramtype">HWND&#160;</td>
          <td class="paramname"><em>hSKWnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LPARAM&#160;</td>
          <td class="paramname"><em>lParam</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00317_source.html">sftkbdc1.c</a> 第 <a class="el" href="a00317_source.html#l00853">853</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00856"></a><span class="lineno">  856</span>&#160;{</div>
<div class="line"><a name="l00857"></a><span class="lineno">  857</span>&#160;    HGLOBAL   hSKC1Ctxt;</div>
<div class="line"><a name="l00858"></a><span class="lineno">  858</span>&#160;    <a class="code" href="a01989.html">PSKC1CTXT</a> pSKC1Ctxt;</div>
<div class="line"><a name="l00859"></a><span class="lineno">  859</span>&#160;    POINT     ptSkCursor, ptSkOffset;</div>
<div class="line"><a name="l00860"></a><span class="lineno">  860</span>&#160;    <span class="keywordtype">int</span>       uKeyIndex;</div>
<div class="line"><a name="l00861"></a><span class="lineno">  861</span>&#160; </div>
<div class="line"><a name="l00862"></a><span class="lineno">  862</span>&#160;    <span class="comment">// Get and lock hSKC1Ctxt</span></div>
<div class="line"><a name="l00863"></a><span class="lineno">  863</span>&#160;    hSKC1Ctxt = (HGLOBAL)GetWindowLong(hSKWnd, <a class="code" href="a00326.html#ae1373879262ab41a35d20c2e9a05be93">SKC1_CONTEXT</a>);</div>
<div class="line"><a name="l00864"></a><span class="lineno">  864</span>&#160;    <span class="keywordflow">if</span> (!hSKC1Ctxt) {</div>
<div class="line"><a name="l00865"></a><span class="lineno">  865</span>&#160;        <span class="keywordflow">return</span> (FALSE);</div>
<div class="line"><a name="l00866"></a><span class="lineno">  866</span>&#160;    }</div>
<div class="line"><a name="l00867"></a><span class="lineno">  867</span>&#160; </div>
<div class="line"><a name="l00868"></a><span class="lineno">  868</span>&#160;    pSKC1Ctxt = (<a class="code" href="a00326.html#a440a5d5f45262a6e01c296aacbc72fcd">PSKC1CTXT</a>)GlobalLock(hSKC1Ctxt);</div>
<div class="line"><a name="l00869"></a><span class="lineno">  869</span>&#160;    <span class="keywordflow">if</span> (!pSKC1Ctxt) {</div>
<div class="line"><a name="l00870"></a><span class="lineno">  870</span>&#160;        <span class="keywordflow">return</span> (FALSE);</div>
<div class="line"><a name="l00871"></a><span class="lineno">  871</span>&#160;    }</div>
<div class="line"><a name="l00872"></a><span class="lineno">  872</span>&#160; </div>
<div class="line"><a name="l00873"></a><span class="lineno">  873</span>&#160;    <span class="keywordflow">if</span> (pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a2e2db58916ba069b37aa1841f17899fd">uState</a> &amp; <a class="code" href="a00326.html#a2ed485495b16ac5b969bbd935f52cdf4">FLAG_DRAG_C1</a>){</div>
<div class="line"><a name="l00874"></a><span class="lineno">  874</span>&#160;        <span class="comment">// in drag operation</span></div>
<div class="line"><a name="l00875"></a><span class="lineno">  875</span>&#160;        SetCursor(LoadCursor(NULL, IDC_SIZEALL));</div>
<div class="line"><a name="l00876"></a><span class="lineno">  876</span>&#160;        GlobalUnlock(hSKC1Ctxt);</div>
<div class="line"><a name="l00877"></a><span class="lineno">  877</span>&#160;        <span class="keywordflow">return</span> (TRUE);</div>
<div class="line"><a name="l00878"></a><span class="lineno">  878</span>&#160;    }</div>
<div class="line"><a name="l00879"></a><span class="lineno">  879</span>&#160; </div>
<div class="line"><a name="l00880"></a><span class="lineno">  880</span>&#160;    <a class="code" href="a03743.html#a7d76f6fb4b57547b99e1a28df2e7a9ca">GetCursorPos</a>(&amp;ptSkCursor);</div>
<div class="line"><a name="l00881"></a><span class="lineno">  881</span>&#160;    ptSkOffset = ptSkCursor;</div>
<div class="line"><a name="l00882"></a><span class="lineno">  882</span>&#160;    <a class="code" href="a03743.html#acf929a1d55d4b36c6357b351ff3528f1">ScreenToClient</a>(hSKWnd, &amp;ptSkOffset);</div>
<div class="line"><a name="l00883"></a><span class="lineno">  883</span>&#160; </div>
<div class="line"><a name="l00884"></a><span class="lineno">  884</span>&#160;    uKeyIndex = <a class="code" href="a00317.html#a69dff57edf1b5c8e33c21e2c65fe21d6">SKC1MousePosition</a>(&amp;ptSkOffset);</div>
<div class="line"><a name="l00885"></a><span class="lineno">  885</span>&#160; </div>
<div class="line"><a name="l00886"></a><span class="lineno">  886</span>&#160;    <span class="keywordflow">if</span> (uKeyIndex != -1) {</div>
<div class="line"><a name="l00887"></a><span class="lineno">  887</span>&#160;       SetCursor(LoadCursor(<a class="code" href="a03254.html#a10bde0fee9a1b44eafd17dfae0807a12">ghInst</a>, <a class="code" href="a03254.html#a2787410490163e996564a3c2f7cc2c35">gszHandCursor</a>));</div>
<div class="line"><a name="l00888"></a><span class="lineno">  888</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00889"></a><span class="lineno">  889</span>&#160;       SetCursor(LoadCursor(NULL, IDC_SIZEALL));</div>
<div class="line"><a name="l00890"></a><span class="lineno">  890</span>&#160;    }</div>
<div class="line"><a name="l00891"></a><span class="lineno">  891</span>&#160; </div>
<div class="line"><a name="l00892"></a><span class="lineno">  892</span>&#160;    <span class="keywordflow">if</span> (HIWORD(lParam) != WM_LBUTTONDOWN){</div>
<div class="line"><a name="l00893"></a><span class="lineno">  893</span>&#160;       <span class="comment">// unlock hSKC1Ctxt</span></div>
<div class="line"><a name="l00894"></a><span class="lineno">  894</span>&#160;       GlobalUnlock(hSKC1Ctxt);</div>
<div class="line"><a name="l00895"></a><span class="lineno">  895</span>&#160;       <span class="keywordflow">return</span> (TRUE);</div>
<div class="line"><a name="l00896"></a><span class="lineno">  896</span>&#160;    }</div>
<div class="line"><a name="l00897"></a><span class="lineno">  897</span>&#160; </div>
<div class="line"><a name="l00898"></a><span class="lineno">  898</span>&#160;    pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a8751aa78ac37131162ff3b8aaac48ec7">ptSkCursor</a> = ptSkCursor;</div>
<div class="line"><a name="l00899"></a><span class="lineno">  899</span>&#160;    pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a828db86063134492f8f5209fcb81773c">ptSkOffset</a> = ptSkOffset;</div>
<div class="line"><a name="l00900"></a><span class="lineno">  900</span>&#160;    pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a41ab4504400fe8702ae95ed0a4dec8a5">uKeyIndex</a> = uKeyIndex;</div>
<div class="line"><a name="l00901"></a><span class="lineno">  901</span>&#160; </div>
<div class="line"><a name="l00902"></a><span class="lineno">  902</span>&#160;    <a class="code" href="a00317.html#ada1e88a7d9cd772a74bbee49712f456d">SKC1ButtonDown</a>(hSKWnd, pSKC1Ctxt);</div>
<div class="line"><a name="l00903"></a><span class="lineno">  903</span>&#160; </div>
<div class="line"><a name="l00904"></a><span class="lineno">  904</span>&#160;    <span class="comment">// unlock hSKC1Ctxt</span></div>
<div class="line"><a name="l00905"></a><span class="lineno">  905</span>&#160;    GlobalUnlock(hSKC1Ctxt);</div>
<div class="line"><a name="l00906"></a><span class="lineno">  906</span>&#160;    <span class="keywordflow">return</span> (TRUE);</div>
<div class="line"><a name="l00907"></a><span class="lineno">  907</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00326_source.html#l00151">FLAG_DRAG_C1</a>, <a class="el" href="a03743_source.html#l00746">GetCursorPos()</a>, <a class="el" href="a03254_source.html#l00014">ghInst</a>, <a class="el" href="a03254_source.html#l00026">gszHandCursor</a>, <a class="el" href="a00326_source.html#l00161">_tagSKC1CTXT::ptSkCursor</a>, <a class="el" href="a00326_source.html#l00162">_tagSKC1CTXT::ptSkOffset</a>, <a class="el" href="a03743_source.html#l00784">ScreenToClient()</a>, <a class="el" href="a00326_source.html#l00148">SKC1_CONTEXT</a>, <a class="el" href="a00317_source.html#l00786">SKC1ButtonDown()</a>, <a class="el" href="a00317_source.html#l00680">SKC1MousePosition()</a>, <a class="el" href="a00326_source.html#l00160">_tagSKC1CTXT::uKeyIndex</a> , 以及 <a class="el" href="a00326_source.html#l00157">_tagSKC1CTXT::uState</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00317_source.html#l01106">SKWndProcC1()</a>.</p>

</div>
</div>
<a id="a56ffb35ca58166a7cce756548b6b82da"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a56ffb35ca58166a7cce756548b6b82da">&#9670;&nbsp;</a></span>SKWndProcC1()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LRESULT SKWndProcC1 </td>
          <td>(</td>
          <td class="paramtype">HWND&#160;</td>
          <td class="paramname"><em>hSKWnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>&#160;</td>
          <td class="paramname"><em>uMsg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">WPARAM&#160;</td>
          <td class="paramname"><em>wParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LPARAM&#160;</td>
          <td class="paramname"><em>lParam</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00317_source.html">sftkbdc1.c</a> 第 <a class="el" href="a00317_source.html#l01106">1106</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l01111"></a><span class="lineno"> 1111</span>&#160;{</div>
<div class="line"><a name="l01112"></a><span class="lineno"> 1112</span>&#160;    LRESULT    lRet = 0L;</div>
<div class="line"><a name="l01113"></a><span class="lineno"> 1113</span>&#160; </div>
<div class="line"><a name="l01114"></a><span class="lineno"> 1114</span>&#160;    <span class="keywordflow">switch</span> (uMsg) {</div>
<div class="line"><a name="l01115"></a><span class="lineno"> 1115</span>&#160;       <span class="keywordflow">case</span> WM_CREATE:</div>
<div class="line"><a name="l01116"></a><span class="lineno"> 1116</span>&#160;            lRet = <a class="code" href="a00317.html#abf0fa3176e4d8fa6ca9873c4f3ef75c4">CreateC1Window</a>(hSKWnd);</div>
<div class="line"><a name="l01117"></a><span class="lineno"> 1117</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l01118"></a><span class="lineno"> 1118</span>&#160; </div>
<div class="line"><a name="l01119"></a><span class="lineno"> 1119</span>&#160;       <span class="keywordflow">case</span> WM_DESTROY:</div>
<div class="line"><a name="l01120"></a><span class="lineno"> 1120</span>&#160;            <a class="code" href="a00317.html#a7516c744598aeee45d0d4790a85dbdc8">DestroyC1Window</a>(hSKWnd);</div>
<div class="line"><a name="l01121"></a><span class="lineno"> 1121</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l01122"></a><span class="lineno"> 1122</span>&#160; </div>
<div class="line"><a name="l01123"></a><span class="lineno"> 1123</span>&#160;       <span class="keywordflow">case</span> WM_PAINT:</div>
<div class="line"><a name="l01124"></a><span class="lineno"> 1124</span>&#160;            {</div>
<div class="line"><a name="l01125"></a><span class="lineno"> 1125</span>&#160;               HDC         hDC;</div>
<div class="line"><a name="l01126"></a><span class="lineno"> 1126</span>&#160;               PAINTSTRUCT ps;</div>
<div class="line"><a name="l01127"></a><span class="lineno"> 1127</span>&#160; </div>
<div class="line"><a name="l01128"></a><span class="lineno"> 1128</span>&#160;               hDC = BeginPaint(hSKWnd, &amp;ps);</div>
<div class="line"><a name="l01129"></a><span class="lineno"> 1129</span>&#160;               <a class="code" href="a00317.html#a6e0bf1f4c79f156def43154167f6cf1e">ShowSKC1Window</a>(hDC, hSKWnd);</div>
<div class="line"><a name="l01130"></a><span class="lineno"> 1130</span>&#160;               EndPaint(hSKWnd, &amp;ps);</div>
<div class="line"><a name="l01131"></a><span class="lineno"> 1131</span>&#160;            }</div>
<div class="line"><a name="l01132"></a><span class="lineno"> 1132</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l01133"></a><span class="lineno"> 1133</span>&#160; </div>
<div class="line"><a name="l01134"></a><span class="lineno"> 1134</span>&#160;       <span class="keywordflow">case</span> WM_MOUSEACTIVATE:</div>
<div class="line"><a name="l01135"></a><span class="lineno"> 1135</span>&#160;            lRet = MA_NOACTIVATE;</div>
<div class="line"><a name="l01136"></a><span class="lineno"> 1136</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l01137"></a><span class="lineno"> 1137</span>&#160; </div>
<div class="line"><a name="l01138"></a><span class="lineno"> 1138</span>&#160;       <span class="keywordflow">case</span> WM_SETCURSOR:</div>
<div class="line"><a name="l01139"></a><span class="lineno"> 1139</span>&#160;            <span class="keywordflow">if</span> (!<a class="code" href="a00317.html#a9dba611529a7f969cd0223fe2e378b40">SKC1SetCursor</a>(hSKWnd, lParam)) {</div>
<div class="line"><a name="l01140"></a><span class="lineno"> 1140</span>&#160;               lRet = DefWindowProc(hSKWnd, uMsg, wParam, lParam);</div>
<div class="line"><a name="l01141"></a><span class="lineno"> 1141</span>&#160;            }</div>
<div class="line"><a name="l01142"></a><span class="lineno"> 1142</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l01143"></a><span class="lineno"> 1143</span>&#160; </div>
<div class="line"><a name="l01144"></a><span class="lineno"> 1144</span>&#160;       <span class="keywordflow">case</span> WM_MOUSEMOVE:</div>
<div class="line"><a name="l01145"></a><span class="lineno"> 1145</span>&#160;            <span class="keywordflow">if</span> (!<a class="code" href="a00317.html#abe3bc581a766cbb9f687bef72dacef16">SKC1MouseMove</a>(hSKWnd, wParam, lParam)) {</div>
<div class="line"><a name="l01146"></a><span class="lineno"> 1146</span>&#160;               lRet = DefWindowProc(hSKWnd, uMsg, wParam, lParam);</div>
<div class="line"><a name="l01147"></a><span class="lineno"> 1147</span>&#160;            }</div>
<div class="line"><a name="l01148"></a><span class="lineno"> 1148</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l01149"></a><span class="lineno"> 1149</span>&#160; </div>
<div class="line"><a name="l01150"></a><span class="lineno"> 1150</span>&#160;       <span class="keywordflow">case</span> WM_LBUTTONUP:</div>
<div class="line"><a name="l01151"></a><span class="lineno"> 1151</span>&#160;            <span class="keywordflow">if</span> (!<a class="code" href="a00317.html#ab9b2b7d016a96a84df6484587b3b9c2b">SKC1ButtonUp</a>(hSKWnd, wParam, lParam)) {</div>
<div class="line"><a name="l01152"></a><span class="lineno"> 1152</span>&#160;               lRet = DefWindowProc(hSKWnd, uMsg, wParam, lParam);</div>
<div class="line"><a name="l01153"></a><span class="lineno"> 1153</span>&#160;            }</div>
<div class="line"><a name="l01154"></a><span class="lineno"> 1154</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l01155"></a><span class="lineno"> 1155</span>&#160; </div>
<div class="line"><a name="l01156"></a><span class="lineno"> 1156</span>&#160;       <span class="keywordflow">case</span> WM_IME_CONTROL:</div>
<div class="line"><a name="l01157"></a><span class="lineno"> 1157</span>&#160;            <span class="keywordflow">switch</span> (wParam) {</div>
<div class="line"><a name="l01158"></a><span class="lineno"> 1158</span>&#160;               <span class="keywordflow">case</span> IMC_GETSOFTKBDFONT:</div>
<div class="line"><a name="l01159"></a><span class="lineno"> 1159</span>&#160;                    {</div>
<div class="line"><a name="l01160"></a><span class="lineno"> 1160</span>&#160;                       HDC        hDC;</div>
<div class="line"><a name="l01161"></a><span class="lineno"> 1161</span>&#160;                       LOGFONT    lfFont;</div>
<div class="line"><a name="l01162"></a><span class="lineno"> 1162</span>&#160; </div>
<div class="line"><a name="l01163"></a><span class="lineno"> 1163</span>&#160;                       hDC = GetDC(hSKWnd);</div>
<div class="line"><a name="l01164"></a><span class="lineno"> 1164</span>&#160;<span class="preprocessor">#if (WINVER &gt;= 0x0400)</span></div>
<div class="line"><a name="l01165"></a><span class="lineno"> 1165</span>&#160;                       <span class="comment">// DEFAULT_GUI_FONT is Windows 95 only</span></div>
<div class="line"><a name="l01166"></a><span class="lineno"> 1166</span>&#160;                       GetObject(GetStockObject(DEFAULT_GUI_FONT),</div>
<div class="line"><a name="l01167"></a><span class="lineno"> 1167</span>&#160;#<span class="keywordflow">else</span></div>
<div class="line"><a name="l01168"></a><span class="lineno"> 1168</span>&#160;                       <span class="comment">// DEFAULT_GUI_FONT is Windows 95 only</span></div>
<div class="line"><a name="l01169"></a><span class="lineno"> 1169</span>&#160;                       GetObject(GetStockObject(SYSTEM_FONT),</div>
<div class="line"><a name="l01170"></a><span class="lineno"> 1170</span>&#160;#endif</div>
<div class="line"><a name="l01171"></a><span class="lineno"> 1171</span>&#160;                                 <span class="keyword">sizeof</span>(lfFont), &amp;lfFont);</div>
<div class="line"><a name="l01172"></a><span class="lineno"> 1172</span>&#160;                       <a class="code" href="a00026.html#ae35231899b6d8b4a5e8d23b23b458104">ReleaseDC</a>(hSKWnd, hDC);</div>
<div class="line"><a name="l01173"></a><span class="lineno"> 1173</span>&#160; </div>
<div class="line"><a name="l01174"></a><span class="lineno"> 1174</span>&#160;                       *(LPLOGFONT)lParam = lfFont;</div>
<div class="line"><a name="l01175"></a><span class="lineno"> 1175</span>&#160; </div>
<div class="line"><a name="l01176"></a><span class="lineno"> 1176</span>&#160;                       <span class="keywordflow">return</span> (0);</div>
<div class="line"><a name="l01177"></a><span class="lineno"> 1177</span>&#160;                    }</div>
<div class="line"><a name="l01178"></a><span class="lineno"> 1178</span>&#160;                    <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l01179"></a><span class="lineno"> 1179</span>&#160; </div>
<div class="line"><a name="l01180"></a><span class="lineno"> 1180</span>&#160;               <span class="keywordflow">case</span> IMC_SETSOFTKBDFONT:</div>
<div class="line"><a name="l01181"></a><span class="lineno"> 1181</span>&#160;                    <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l01182"></a><span class="lineno"> 1182</span>&#160; </div>
<div class="line"><a name="l01183"></a><span class="lineno"> 1183</span>&#160;               <span class="keywordflow">case</span> IMC_GETSOFTKBDPOS:</div>
<div class="line"><a name="l01184"></a><span class="lineno"> 1184</span>&#160;                    {</div>
<div class="line"><a name="l01185"></a><span class="lineno"> 1185</span>&#160;                       RECT rcWnd;</div>
<div class="line"><a name="l01186"></a><span class="lineno"> 1186</span>&#160; </div>
<div class="line"><a name="l01187"></a><span class="lineno"> 1187</span>&#160;                       <a class="code" href="a03743.html#ad84a8a00b68bf3b49489de853f0578c9">GetWindowRect</a>(hSKWnd, &amp;rcWnd);</div>
<div class="line"><a name="l01188"></a><span class="lineno"> 1188</span>&#160; </div>
<div class="line"><a name="l01189"></a><span class="lineno"> 1189</span>&#160;                       <span class="keywordflow">return</span> MAKELRESULT(rcWnd.left, rcWnd.top);</div>
<div class="line"><a name="l01190"></a><span class="lineno"> 1190</span>&#160;                    }</div>
<div class="line"><a name="l01191"></a><span class="lineno"> 1191</span>&#160;                    <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l01192"></a><span class="lineno"> 1192</span>&#160; </div>
<div class="line"><a name="l01193"></a><span class="lineno"> 1193</span>&#160;               <span class="keywordflow">case</span> IMC_SETSOFTKBDPOS:</div>
<div class="line"><a name="l01194"></a><span class="lineno"> 1194</span>&#160;                    {</div>
<div class="line"><a name="l01195"></a><span class="lineno"> 1195</span>&#160;                       SetWindowPos(hSKWnd, NULL,</div>
<div class="line"><a name="l01196"></a><span class="lineno"> 1196</span>&#160;                            ((LPPOINTS)lParam)-&gt;x, ((LPPOINTS)lParam)-&gt;y,</div>
<div class="line"><a name="l01197"></a><span class="lineno"> 1197</span>&#160;                            0, 0, SWP_NOACTIVATE|SWP_NOSIZE|SWP_NOZORDER);</div>
<div class="line"><a name="l01198"></a><span class="lineno"> 1198</span>&#160;                       <span class="keywordflow">return</span> (0);</div>
<div class="line"><a name="l01199"></a><span class="lineno"> 1199</span>&#160;                    }</div>
<div class="line"><a name="l01200"></a><span class="lineno"> 1200</span>&#160;                    <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l01201"></a><span class="lineno"> 1201</span>&#160; </div>
<div class="line"><a name="l01202"></a><span class="lineno"> 1202</span>&#160;               <span class="keywordflow">case</span> IMC_SETSOFTKBDDATA:</div>
<div class="line"><a name="l01203"></a><span class="lineno"> 1203</span>&#160;                    <span class="keywordflow">if</span> (<a class="code" href="a00317.html#aeedd744cca271941363fd1c86033a527">UpdateSKC1Window</a>(hSKWnd, (LPSOFTKBDDATA)lParam)) {</div>
<div class="line"><a name="l01204"></a><span class="lineno"> 1204</span>&#160;                       InvalidateRect(hSKWnd, NULL, FALSE);</div>
<div class="line"><a name="l01205"></a><span class="lineno"> 1205</span>&#160;                    } <span class="keywordflow">else</span> lRet = -1L;</div>
<div class="line"><a name="l01206"></a><span class="lineno"> 1206</span>&#160;                    <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l01207"></a><span class="lineno"> 1207</span>&#160; </div>
<div class="line"><a name="l01208"></a><span class="lineno"> 1208</span>&#160;               <span class="keywordflow">case</span> IMC_GETSOFTKBDSUBTYPE:</div>
<div class="line"><a name="l01209"></a><span class="lineno"> 1209</span>&#160;               <span class="keywordflow">case</span> IMC_SETSOFTKBDSUBTYPE:</div>
<div class="line"><a name="l01210"></a><span class="lineno"> 1210</span>&#160;                    {</div>
<div class="line"><a name="l01211"></a><span class="lineno"> 1211</span>&#160;                       HGLOBAL   hSKC1Ctxt;</div>
<div class="line"><a name="l01212"></a><span class="lineno"> 1212</span>&#160;                       <a class="code" href="a01989.html">PSKC1CTXT</a> pSKC1Ctxt;</div>
<div class="line"><a name="l01213"></a><span class="lineno"> 1213</span>&#160; </div>
<div class="line"><a name="l01214"></a><span class="lineno"> 1214</span>&#160;                       lRet = -1L;</div>
<div class="line"><a name="l01215"></a><span class="lineno"> 1215</span>&#160; </div>
<div class="line"><a name="l01216"></a><span class="lineno"> 1216</span>&#160;                       hSKC1Ctxt = (HGLOBAL)GetWindowLong(hSKWnd, <a class="code" href="a00326.html#ae1373879262ab41a35d20c2e9a05be93">SKC1_CONTEXT</a>);</div>
<div class="line"><a name="l01217"></a><span class="lineno"> 1217</span>&#160;                       <span class="keywordflow">if</span> (!hSKC1Ctxt) <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l01218"></a><span class="lineno"> 1218</span>&#160; </div>
<div class="line"><a name="l01219"></a><span class="lineno"> 1219</span>&#160;                       pSKC1Ctxt = (<a class="code" href="a00326.html#a440a5d5f45262a6e01c296aacbc72fcd">PSKC1CTXT</a>)GlobalLock(hSKC1Ctxt);</div>
<div class="line"><a name="l01220"></a><span class="lineno"> 1220</span>&#160;                       <span class="keywordflow">if</span> (!pSKC1Ctxt) <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l01221"></a><span class="lineno"> 1221</span>&#160; </div>
<div class="line"><a name="l01222"></a><span class="lineno"> 1222</span>&#160;                       <span class="keywordflow">if</span> (wParam == IMC_GETSOFTKBDSUBTYPE) {</div>
<div class="line"><a name="l01223"></a><span class="lineno"> 1223</span>&#160;                          lRet = pSKC1Ctxt-&gt;<a class="code" href="a01989.html#ab41c01b84fdee7e98bdc3f7355f2c0e3">uSubtype</a>;</div>
<div class="line"><a name="l01224"></a><span class="lineno"> 1224</span>&#160;                       } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l01225"></a><span class="lineno"> 1225</span>&#160;                          lRet = pSKC1Ctxt-&gt;<a class="code" href="a01989.html#ab41c01b84fdee7e98bdc3f7355f2c0e3">uSubtype</a>;</div>
<div class="line"><a name="l01226"></a><span class="lineno"> 1226</span>&#160;                          pSKC1Ctxt-&gt;<a class="code" href="a01989.html#ab41c01b84fdee7e98bdc3f7355f2c0e3">uSubtype</a> = (<a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>)lParam;</div>
<div class="line"><a name="l01227"></a><span class="lineno"> 1227</span>&#160;                       }</div>
<div class="line"><a name="l01228"></a><span class="lineno"> 1228</span>&#160; </div>
<div class="line"><a name="l01229"></a><span class="lineno"> 1229</span>&#160;                       GlobalUnlock(hSKC1Ctxt);</div>
<div class="line"><a name="l01230"></a><span class="lineno"> 1230</span>&#160;                    }</div>
<div class="line"><a name="l01231"></a><span class="lineno"> 1231</span>&#160;                    <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l01232"></a><span class="lineno"> 1232</span>&#160;            }</div>
<div class="line"><a name="l01233"></a><span class="lineno"> 1233</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l01234"></a><span class="lineno"> 1234</span>&#160; </div>
<div class="line"><a name="l01235"></a><span class="lineno"> 1235</span>&#160;       <span class="keywordflow">default</span>:</div>
<div class="line"><a name="l01236"></a><span class="lineno"> 1236</span>&#160;            lRet = DefWindowProc(hSKWnd, uMsg, wParam, lParam);</div>
<div class="line"><a name="l01237"></a><span class="lineno"> 1237</span>&#160;    }</div>
<div class="line"><a name="l01238"></a><span class="lineno"> 1238</span>&#160; </div>
<div class="line"><a name="l01239"></a><span class="lineno"> 1239</span>&#160;    <span class="keywordflow">return</span> (lRet);</div>
<div class="line"><a name="l01240"></a><span class="lineno"> 1240</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00317_source.html#l00352">CreateC1Window()</a>, <a class="el" href="a00317_source.html#l00420">DestroyC1Window()</a>, <a class="el" href="a03743_source.html#l00765">GetWindowRect()</a>, <a class="el" href="a00026_source.html#l00885">ReleaseDC()</a>, <a class="el" href="a00317_source.html#l00459">ShowSKC1Window()</a>, <a class="el" href="a00326_source.html#l00148">SKC1_CONTEXT</a>, <a class="el" href="a00317_source.html#l00981">SKC1ButtonUp()</a>, <a class="el" href="a00317_source.html#l00914">SKC1MouseMove()</a>, <a class="el" href="a00317_source.html#l00853">SKC1SetCursor()</a>, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT()</a>, <a class="el" href="a00317_source.html#l00499">UpdateSKC1Window()</a> , 以及 <a class="el" href="a00326_source.html#l00159">_tagSKC1CTXT::uSubtype</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00323_source.html#l00022">RegisterSoftKeyboard()</a>.</p>

</div>
</div>
<a id="aeedd744cca271941363fd1c86033a527"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeedd744cca271941363fd1c86033a527">&#9670;&nbsp;</a></span>UpdateSKC1Window()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL UpdateSKC1Window </td>
          <td>(</td>
          <td class="paramtype">HWND&#160;</td>
          <td class="paramname"><em>hSKWnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LPSOFTKBDDATA&#160;</td>
          <td class="paramname"><em>lpSoftKbdData</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00317_source.html">sftkbdc1.c</a> 第 <a class="el" href="a00317_source.html#l00499">499</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00502"></a><span class="lineno">  502</span>&#160;{</div>
<div class="line"><a name="l00503"></a><span class="lineno">  503</span>&#160;    HGLOBAL   hSKC1Ctxt;</div>
<div class="line"><a name="l00504"></a><span class="lineno">  504</span>&#160;    <a class="code" href="a01989.html">PSKC1CTXT</a> pSKC1Ctxt;</div>
<div class="line"><a name="l00505"></a><span class="lineno">  505</span>&#160;    LOGFONT   lfFont;</div>
<div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160;    HFONT     hOldFont, hFont;</div>
<div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160;    HDC       hDC, hMemDC;</div>
<div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160;    HBITMAP   hOldBmp;</div>
<div class="line"><a name="l00509"></a><span class="lineno">  509</span>&#160;    <span class="keywordtype">int</span>       i;</div>
<div class="line"><a name="l00510"></a><span class="lineno">  510</span>&#160; </div>
<div class="line"><a name="l00511"></a><span class="lineno">  511</span>&#160;    <span class="comment">// check the lpSoftKbdData</span></div>
<div class="line"><a name="l00512"></a><span class="lineno">  512</span>&#160;    <span class="keywordflow">if</span> (lpSoftKbdData-&gt;uCount!=2) <span class="keywordflow">return</span> FALSE;</div>
<div class="line"><a name="l00513"></a><span class="lineno">  513</span>&#160; </div>
<div class="line"><a name="l00514"></a><span class="lineno">  514</span>&#160;    <span class="comment">// Get and Lock hSKC1Ctxt</span></div>
<div class="line"><a name="l00515"></a><span class="lineno">  515</span>&#160;    hSKC1Ctxt = (HGLOBAL)GetWindowLong(hSKWnd, <a class="code" href="a00326.html#ae1373879262ab41a35d20c2e9a05be93">SKC1_CONTEXT</a>);</div>
<div class="line"><a name="l00516"></a><span class="lineno">  516</span>&#160;    <span class="keywordflow">if</span> (!hSKC1Ctxt) <span class="keywordflow">return</span> FALSE;</div>
<div class="line"><a name="l00517"></a><span class="lineno">  517</span>&#160; </div>
<div class="line"><a name="l00518"></a><span class="lineno">  518</span>&#160;    pSKC1Ctxt = (<a class="code" href="a00326.html#a440a5d5f45262a6e01c296aacbc72fcd">PSKC1CTXT</a>)GlobalLock(hSKC1Ctxt);</div>
<div class="line"><a name="l00519"></a><span class="lineno">  519</span>&#160;    <span class="keywordflow">if</span> (!pSKC1Ctxt) <span class="keywordflow">return</span> FALSE;</div>
<div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160; </div>
<div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160;    <span class="comment">// create font</span></div>
<div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160;    hDC = GetDC(hSKWnd);</div>
<div class="line"><a name="l00523"></a><span class="lineno">  523</span>&#160;    hMemDC = CreateCompatibleDC(hDC);</div>
<div class="line"><a name="l00524"></a><span class="lineno">  524</span>&#160;    hOldBmp = SelectObject(hMemDC, pSKC1Ctxt-&gt;<a class="code" href="a01989.html#ad3f03c31eccbe1588a4a42c3042c873b">hSoftkbd</a>);</div>
<div class="line"><a name="l00525"></a><span class="lineno">  525</span>&#160; </div>
<div class="line"><a name="l00526"></a><span class="lineno">  526</span>&#160;<span class="preprocessor">#if (WINVER &gt;= 0x0400)</span></div>
<div class="line"><a name="l00527"></a><span class="lineno">  527</span>&#160;    <span class="comment">// DEFAULT_GUI_FONT is Windows 95 only</span></div>
<div class="line"><a name="l00528"></a><span class="lineno">  528</span>&#160; </div>
<div class="line"><a name="l00529"></a><span class="lineno">  529</span>&#160;    GetObject(GetStockObject(DEFAULT_GUI_FONT), <span class="keyword">sizeof</span>(lfFont), &amp;lfFont);</div>
<div class="line"><a name="l00530"></a><span class="lineno">  530</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00531"></a><span class="lineno">  531</span>&#160;    GetObject(GetStockObject(SYSTEM_FONT), <span class="keyword">sizeof</span>(lfFont), &amp;lfFont);</div>
<div class="line"><a name="l00532"></a><span class="lineno">  532</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00533"></a><span class="lineno">  533</span>&#160;    lfFont.lfHeight = -<a class="code" href="a00326.html#a385c3e89e083b2932e4d0cf7a4480688">SIZEFONT_C1</a>;</div>
<div class="line"><a name="l00534"></a><span class="lineno">  534</span>&#160;    hFont = CreateFontIndirect(&amp;lfFont);</div>
<div class="line"><a name="l00535"></a><span class="lineno">  535</span>&#160;    hOldFont = SelectObject(hMemDC, hFont);</div>
<div class="line"><a name="l00536"></a><span class="lineno">  536</span>&#160; </div>
<div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160; </div>
<div class="line"><a name="l00538"></a><span class="lineno">  538</span>&#160;    <span class="comment">// update shift/non-shift chars</span></div>
<div class="line"><a name="l00539"></a><span class="lineno">  539</span>&#160;    <span class="keywordflow">for</span> (i=0; i &lt; <a class="code" href="a00326.html#adefecae28b1b29641db21a45d993af7d">LETTER_NUM_C1</a>; i++) {</div>
<div class="line"><a name="l00540"></a><span class="lineno">  540</span>&#160;        pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a6ab33e87d8d3bc2ca07fa06cc1363968">wNonShiftCode</a>[i] = lpSoftKbdData-&gt;wCode[0][<a class="code" href="a00317.html#aa5e006e36ac3a8a9f77f5d16709b3d51">SKC1VirtKey</a>[i]];</div>
<div class="line"><a name="l00541"></a><span class="lineno">  541</span>&#160;        pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a7fd95759bf9011297f4fb311e1814aba">wShiftCode</a>[i] = lpSoftKbdData-&gt;wCode[1][<a class="code" href="a00317.html#aa5e006e36ac3a8a9f77f5d16709b3d51">SKC1VirtKey</a>[i]];</div>
<div class="line"><a name="l00542"></a><span class="lineno">  542</span>&#160;    }</div>
<div class="line"><a name="l00543"></a><span class="lineno">  543</span>&#160; </div>
<div class="line"><a name="l00544"></a><span class="lineno">  544</span>&#160;    SetBkColor(hMemDC, 0x00BFBFBF);  <span class="comment">// set text bk color ??</span></div>
<div class="line"><a name="l00545"></a><span class="lineno">  545</span>&#160; </div>
<div class="line"><a name="l00546"></a><span class="lineno">  546</span>&#160;    <span class="keywordflow">for</span> (i=0; i &lt; <a class="code" href="a00326.html#adefecae28b1b29641db21a45d993af7d">LETTER_NUM_C1</a>; i++) {</div>
<div class="line"><a name="l00547"></a><span class="lineno">  547</span>&#160;        <span class="keywordtype">int</span>  nchar;</div>
<div class="line"><a name="l00548"></a><span class="lineno">  548</span>&#160;        RECT rc;</div>
<div class="line"><a name="l00549"></a><span class="lineno">  549</span>&#160; </div>
<div class="line"><a name="l00550"></a><span class="lineno">  550</span>&#160;        <span class="comment">// draw shift char.</span></div>
<div class="line"><a name="l00551"></a><span class="lineno">  551</span>&#160;        rc.left = <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].x + <a class="code" href="a00326.html#ae52f945b0c01d49c4336cb5e5a8874d4">X_SHIFT_CHAR_C1</a>;</div>
<div class="line"><a name="l00552"></a><span class="lineno">  552</span>&#160;        rc.top = <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].y + <a class="code" href="a00326.html#a2237dad207242748418b9091a6d576d6">Y_SHIFT_CHAR_C1</a>;</div>
<div class="line"><a name="l00553"></a><span class="lineno">  553</span>&#160;        rc.right = rc.left + <a class="code" href="a00326.html#a385c3e89e083b2932e4d0cf7a4480688">SIZEFONT_C1</a>;</div>
<div class="line"><a name="l00554"></a><span class="lineno">  554</span>&#160;        rc.bottom = rc.top + <a class="code" href="a00326.html#a385c3e89e083b2932e4d0cf7a4480688">SIZEFONT_C1</a>;</div>
<div class="line"><a name="l00555"></a><span class="lineno">  555</span>&#160; </div>
<div class="line"><a name="l00556"></a><span class="lineno">  556</span>&#160;        nchar = (pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a7fd95759bf9011297f4fb311e1814aba">wShiftCode</a>[i] == 0) ? 0 : 1;</div>
<div class="line"><a name="l00557"></a><span class="lineno">  557</span>&#160; </div>
<div class="line"><a name="l00558"></a><span class="lineno">  558</span>&#160;<span class="preprocessor">#if (WINVER &gt;= 0x0400)</span></div>
<div class="line"><a name="l00559"></a><span class="lineno">  559</span>&#160;        DrawTextEx(hMemDC, (LPWSTR)&amp;pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a7fd95759bf9011297f4fb311e1814aba">wShiftCode</a>[i],</div>
<div class="line"><a name="l00560"></a><span class="lineno">  560</span>&#160;                   nchar, &amp;rc, DT_CENTER, NULL);</div>
<div class="line"><a name="l00561"></a><span class="lineno">  561</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00562"></a><span class="lineno">  562</span>&#160;        ExtTextOut(hMemDC,</div>
<div class="line"><a name="l00563"></a><span class="lineno">  563</span>&#160;            rc.left,</div>
<div class="line"><a name="l00564"></a><span class="lineno">  564</span>&#160;            rc.top,</div>
<div class="line"><a name="l00565"></a><span class="lineno">  565</span>&#160;            ETO_OPAQUE, &amp;rc,</div>
<div class="line"><a name="l00566"></a><span class="lineno">  566</span>&#160;            (LPWSTR)&amp;pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a7fd95759bf9011297f4fb311e1814aba">wShiftCode</a>[i], nchar, NULL);</div>
<div class="line"><a name="l00567"></a><span class="lineno">  567</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00568"></a><span class="lineno">  568</span>&#160; </div>
<div class="line"><a name="l00569"></a><span class="lineno">  569</span>&#160;        <span class="comment">// draw non-shift char.</span></div>
<div class="line"><a name="l00570"></a><span class="lineno">  570</span>&#160;        rc.left = <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].x + <a class="code" href="a00326.html#ad0b84cf80eaccf1bc091ec9de40257b0">X_NONSHIFT_CHAR_C1</a>;</div>
<div class="line"><a name="l00571"></a><span class="lineno">  571</span>&#160;        rc.top = <a class="code" href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a>[i].y + <a class="code" href="a00326.html#a85a16b3f7e6c447066771370f2062e58">Y_NONSHIFT_CHAR_C1</a>;</div>
<div class="line"><a name="l00572"></a><span class="lineno">  572</span>&#160;        rc.right = rc.left + <a class="code" href="a00326.html#a385c3e89e083b2932e4d0cf7a4480688">SIZEFONT_C1</a>;</div>
<div class="line"><a name="l00573"></a><span class="lineno">  573</span>&#160;        rc.bottom = rc.top + <a class="code" href="a00326.html#a385c3e89e083b2932e4d0cf7a4480688">SIZEFONT_C1</a>;</div>
<div class="line"><a name="l00574"></a><span class="lineno">  574</span>&#160; </div>
<div class="line"><a name="l00575"></a><span class="lineno">  575</span>&#160;        nchar = (pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a6ab33e87d8d3bc2ca07fa06cc1363968">wNonShiftCode</a>[i] == 0) ? 0 : 1;</div>
<div class="line"><a name="l00576"></a><span class="lineno">  576</span>&#160; </div>
<div class="line"><a name="l00577"></a><span class="lineno">  577</span>&#160;<span class="preprocessor">#if (WINVER &gt;= 0x0400)</span></div>
<div class="line"><a name="l00578"></a><span class="lineno">  578</span>&#160;        DrawTextEx(hMemDC, (LPWSTR)&amp;pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a6ab33e87d8d3bc2ca07fa06cc1363968">wNonShiftCode</a>[i],</div>
<div class="line"><a name="l00579"></a><span class="lineno">  579</span>&#160;                   nchar, &amp;rc, DT_CENTER, NULL);</div>
<div class="line"><a name="l00580"></a><span class="lineno">  580</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00581"></a><span class="lineno">  581</span>&#160;        ExtTextOut(hMemDC,</div>
<div class="line"><a name="l00582"></a><span class="lineno">  582</span>&#160;            rc.left,</div>
<div class="line"><a name="l00583"></a><span class="lineno">  583</span>&#160;            rc.top,</div>
<div class="line"><a name="l00584"></a><span class="lineno">  584</span>&#160;            ETO_OPAQUE, &amp;rc,</div>
<div class="line"><a name="l00585"></a><span class="lineno">  585</span>&#160;            (LPWSTR)&amp;pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a6ab33e87d8d3bc2ca07fa06cc1363968">wNonShiftCode</a>[i], nchar, NULL);</div>
<div class="line"><a name="l00586"></a><span class="lineno">  586</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00587"></a><span class="lineno">  587</span>&#160;    }</div>
<div class="line"><a name="l00588"></a><span class="lineno">  588</span>&#160; </div>
<div class="line"><a name="l00589"></a><span class="lineno">  589</span>&#160;    <span class="comment">// init states</span></div>
<div class="line"><a name="l00590"></a><span class="lineno">  590</span>&#160;    <span class="keywordflow">if</span> (pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a2e2db58916ba069b37aa1841f17899fd">uState</a> &amp; <a class="code" href="a00326.html#a4bc23928c8a2d5465ac8bf4829e5c838">FLAG_SHIFT_C1</a>){</div>
<div class="line"><a name="l00591"></a><span class="lineno">  591</span>&#160;       <a class="code" href="a00317.html#a2cd6e519efe87dd6ec991185300d4c64">SKC1InvertButton</a>(hMemDC, <a class="code" href="a00326.html#af9d4e80dbaad989ffe11a6db6c15a081">SHIFT_TYPE_C1</a>);</div>
<div class="line"><a name="l00592"></a><span class="lineno">  592</span>&#160;    }</div>
<div class="line"><a name="l00593"></a><span class="lineno">  593</span>&#160;    pSKC1Ctxt-&gt;<a class="code" href="a01989.html#a2e2db58916ba069b37aa1841f17899fd">uState</a> = 0;</div>
<div class="line"><a name="l00594"></a><span class="lineno">  594</span>&#160; </div>
<div class="line"><a name="l00595"></a><span class="lineno">  595</span>&#160;    SelectObject(hMemDC, hOldBmp);</div>
<div class="line"><a name="l00596"></a><span class="lineno">  596</span>&#160;    SelectObject(hMemDC, hOldFont);</div>
<div class="line"><a name="l00597"></a><span class="lineno">  597</span>&#160;    DeleteDC(hMemDC);</div>
<div class="line"><a name="l00598"></a><span class="lineno">  598</span>&#160; </div>
<div class="line"><a name="l00599"></a><span class="lineno">  599</span>&#160;    DeleteObject(hFont);</div>
<div class="line"><a name="l00600"></a><span class="lineno">  600</span>&#160;    <a class="code" href="a00026.html#ae35231899b6d8b4a5e8d23b23b458104">ReleaseDC</a>(hSKWnd,hDC);</div>
<div class="line"><a name="l00601"></a><span class="lineno">  601</span>&#160; </div>
<div class="line"><a name="l00602"></a><span class="lineno">  602</span>&#160;    <span class="comment">// Unlock hSKC1Ctxt</span></div>
<div class="line"><a name="l00603"></a><span class="lineno">  603</span>&#160;    GlobalUnlock(hSKC1Ctxt);</div>
<div class="line"><a name="l00604"></a><span class="lineno">  604</span>&#160; </div>
<div class="line"><a name="l00605"></a><span class="lineno">  605</span>&#160;    <span class="keywordflow">return</span> TRUE;</div>
<div class="line"><a name="l00606"></a><span class="lineno">  606</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00326_source.html#l00150">FLAG_SHIFT_C1</a>, <a class="el" href="a00317_source.html#l00036">gptButtonPos</a>, <a class="el" href="a00326_source.html#l00158">_tagSKC1CTXT::hSoftkbd</a>, <a class="el" href="a00326_source.html#l00117">LETTER_NUM_C1</a>, <a class="el" href="a00026_source.html#l00885">ReleaseDC()</a>, <a class="el" href="a00326_source.html#l00129">SHIFT_TYPE_C1</a>, <a class="el" href="a00326_source.html#l00136">SIZEFONT_C1</a>, <a class="el" href="a00326_source.html#l00148">SKC1_CONTEXT</a>, <a class="el" href="a00317_source.html#l00157">SKC1InvertButton()</a>, <a class="el" href="a00317_source.html#l00027">SKC1VirtKey</a>, <a class="el" href="a00326_source.html#l00157">_tagSKC1CTXT::uState</a>, <a class="el" href="a00326_source.html#l00156">_tagSKC1CTXT::wNonShiftCode</a>, <a class="el" href="a00326_source.html#l00155">_tagSKC1CTXT::wShiftCode</a>, <a class="el" href="a00326_source.html#l00143">X_NONSHIFT_CHAR_C1</a>, <a class="el" href="a00326_source.html#l00141">X_SHIFT_CHAR_C1</a>, <a class="el" href="a00326_source.html#l00144">Y_NONSHIFT_CHAR_C1</a> , 以及 <a class="el" href="a00326_source.html#l00142">Y_SHIFT_CHAR_C1</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00317_source.html#l01106">SKWndProcC1()</a>.</p>

</div>
</div>
<h2 class="groupheader">变量说明</h2>
<a id="a65a756694c3b4f9cf62274909e10c320"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a65a756694c3b4f9cf62274909e10c320">&#9670;&nbsp;</a></span>gfInit</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL gfInit = FALSE</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00317_source.html">sftkbdc1.c</a> 第 <a class="el" href="a00317_source.html#l00037">37</a> 行定义.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00317_source.html#l00352">CreateC1Window()</a>.</p>

</div>
</div>
<a id="a112d17e443be80ce091d2ab4ae00f3d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a112d17e443be80ce091d2ab4ae00f3d8">&#9670;&nbsp;</a></span>gptButtonPos</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">POINT gptButtonPos[<a class="el" href="a00326.html#a54ded9f276af31de505e1c43b3875dd2">BUTTON_NUM_C1</a>]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00317_source.html">sftkbdc1.c</a> 第 <a class="el" href="a00317_source.html#l00036">36</a> 行定义.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00317_source.html#l00279">InitSKC1Bitmap()</a>, <a class="el" href="a00317_source.html#l00043">InitSKC1ButtonPos()</a>, <a class="el" href="a00317_source.html#l00250">SKC1DrawLabel()</a>, <a class="el" href="a00317_source.html#l00157">SKC1InvertButton()</a>, <a class="el" href="a00317_source.html#l00680">SKC1MousePosition()</a> , 以及 <a class="el" href="a00317_source.html#l00499">UpdateSKC1Window()</a>.</p>

</div>
</div>
<a id="aa5e006e36ac3a8a9f77f5d16709b3d51"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa5e006e36ac3a8a9f77f5d16709b3d51">&#9670;&nbsp;</a></span>SKC1VirtKey</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BYTE SKC1VirtKey[<a class="el" href="a00326.html#a54ded9f276af31de505e1c43b3875dd2">BUTTON_NUM_C1</a>]</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>初始值:</b><div class="fragment"><div class="line">= {</div>
<div class="line">   <a class="code" href="a00368.html#aed7884866634155375a93669a3442a82">VK_OEM_3</a>, <span class="charliteral">&#39;1&#39;</span>, <span class="charliteral">&#39;2&#39;</span>, <span class="charliteral">&#39;3&#39;</span>, <span class="charliteral">&#39;4&#39;</span>, <span class="charliteral">&#39;5&#39;</span>, <span class="charliteral">&#39;6&#39;</span>,<span class="charliteral">&#39;7&#39;</span>, <span class="charliteral">&#39;8&#39;</span>, <span class="charliteral">&#39;9&#39;</span>, <span class="charliteral">&#39;0&#39;</span>, <a class="code" href="a00368.html#aa34ad068f66bb32c91a2f17417766b83">VK_OEM_MINUS</a>, VK_OEM_EQUAL,</div>
<div class="line">   <span class="charliteral">&#39;Q&#39;</span>, <span class="charliteral">&#39;W&#39;</span>, <span class="charliteral">&#39;E&#39;</span>, <span class="charliteral">&#39;R&#39;</span>, <span class="charliteral">&#39;T&#39;</span>, <span class="charliteral">&#39;Y&#39;</span>, <span class="charliteral">&#39;U&#39;</span>, <span class="charliteral">&#39;I&#39;</span>, <span class="charliteral">&#39;O&#39;</span>, <span class="charliteral">&#39;P&#39;</span>, VK_OEM_LBRACKET, VK_OEM_RBRACKET, VK_OEM_BSLASH,</div>
<div class="line">   <span class="charliteral">&#39;A&#39;</span>, <span class="charliteral">&#39;S&#39;</span>, <span class="charliteral">&#39;D&#39;</span>, <span class="charliteral">&#39;F&#39;</span>, <span class="charliteral">&#39;G&#39;</span>, <span class="charliteral">&#39;H&#39;</span>, <span class="charliteral">&#39;J&#39;</span>, <span class="charliteral">&#39;K&#39;</span>, <span class="charliteral">&#39;L&#39;</span>, VK_OEM_SEMICLN, VK_OEM_QUOTE,</div>
<div class="line">   <span class="charliteral">&#39;Z&#39;</span>, <span class="charliteral">&#39;X&#39;</span>, <span class="charliteral">&#39;C&#39;</span>, <span class="charliteral">&#39;V&#39;</span>, <span class="charliteral">&#39;B&#39;</span>, <span class="charliteral">&#39;N&#39;</span>, <span class="charliteral">&#39;M&#39;</span>, <a class="code" href="a00368.html#a0dee4b5beb88a034bf6828dde2c90c7e">VK_OEM_COMMA</a>, <a class="code" href="a00368.html#a56932ac9f592d0960ae4c723c4a3d35c">VK_OEM_PERIOD</a>, VK_OEM_SLASH,</div>
<div class="line">   VK_BACK, VK_TAB, VK_CAPITAL, VK_RETURN, VK_SHIFT, VK_INSERT, VK_DELETE, VK_SPACE,</div>
<div class="line">   VK_ESCAPE</div>
<div class="line">}</div>
</div><!-- fragment -->
<p class="definition">在文件 <a class="el" href="a00317_source.html">sftkbdc1.c</a> 第 <a class="el" href="a00317_source.html#l00027">27</a> 行定义.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00317_source.html#l00981">SKC1ButtonUp()</a> , 以及 <a class="el" href="a00317_source.html#l00499">UpdateSKC1Window()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aa01989_html_a828db86063134492f8f5209fcb81773c"><div class="ttname"><a href="a01989.html#a828db86063134492f8f5209fcb81773c">_tagSKC1CTXT::ptSkOffset</a></div><div class="ttdeci">POINT ptSkOffset</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00162">softkbd.h:162</a></div></div>
<div class="ttc" id="aa03254_html_af2a9dd7424673dce3719cf8433970b1a"><div class="ttname"><a href="a03254.html#af2a9dd7424673dce3719cf8433970b1a">guScanCode</a></div><div class="ttdeci">UINT guScanCode[0xFF]</div><div class="ttdef"><b>Definition:</b> <a href="a03254_source.html#l00025">imm/globals.c:25</a></div></div>
<div class="ttc" id="aa00368_html_a0dee4b5beb88a034bf6828dde2c90c7e"><div class="ttname"><a href="a00368.html#a0dee4b5beb88a034bf6828dde2c90c7e">VK_OEM_COMMA</a></div><div class="ttdeci">#define VK_OEM_COMMA</div><div class="ttdef"><b>Definition:</b> <a href="a00368_source.html#l00057">vkoem.h:57</a></div></div>
<div class="ttc" id="aa00326_html_ad05913052c47d1fb3642268495d93e77"><div class="ttname"><a href="a00326.html#ad05913052c47d1fb3642268495d93e77">X_ROW3_LETTER_C1</a></div><div class="ttdeci">#define X_ROW3_LETTER_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00112">softkbd.h:112</a></div></div>
<div class="ttc" id="aa00326_html_aa5e09915c2d2a7e5834b9fc77a4ade6e"><div class="ttname"><a href="a00326.html#aa5e09915c2d2a7e5834b9fc77a4ade6e">H_LETTER_BTN_C1</a></div><div class="ttdeci">#define H_LETTER_BTN_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00084">softkbd.h:84</a></div></div>
<div class="ttc" id="aa01989_html_a7fd95759bf9011297f4fb311e1814aba"><div class="ttname"><a href="a01989.html#a7fd95759bf9011297f4fb311e1814aba">_tagSKC1CTXT::wShiftCode</a></div><div class="ttdeci">WORD wShiftCode[LETTER_NUM_C1]</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00155">softkbd.h:155</a></div></div>
<div class="ttc" id="aa00326_html_a4661b3621ad42991612528a7b6ceb72c"><div class="ttname"><a href="a00326.html#a4661b3621ad42991612528a7b6ceb72c">H_SHIFT_C1</a></div><div class="ttdeci">#define H_SHIFT_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00100">softkbd.h:100</a></div></div>
<div class="ttc" id="aa00326_html_a59adc1fc7d985eb7dfbcdda3e7e5b9ca"><div class="ttname"><a href="a00326.html#a59adc1fc7d985eb7dfbcdda3e7e5b9ca">TAB_TYPE_C1</a></div><div class="ttdeci">#define TAB_TYPE_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00126">softkbd.h:126</a></div></div>
<div class="ttc" id="aa00317_html_a21386e36a5216c933d8d26c61f60dcac"><div class="ttname"><a href="a00317.html#a21386e36a5216c933d8d26c61f60dcac">BACKSP_BMP</a></div><div class="ttdeci">#define BACKSP_BMP</div><div class="ttdef"><b>Definition:</b> <a href="a00317_source.html#l00016">sftkbdc1.c:16</a></div></div>
<div class="ttc" id="aa00317_html_a3538869e2bdfe09e97fee791d182f9d8"><div class="ttname"><a href="a00317.html#a3538869e2bdfe09e97fee791d182f9d8">INS_BMP</a></div><div class="ttdeci">#define INS_BMP</div><div class="ttdef"><b>Definition:</b> <a href="a00317_source.html#l00021">sftkbdc1.c:21</a></div></div>
<div class="ttc" id="aa00326_html_abc369436a122f92acd3afb79030cf06f"><div class="ttname"><a href="a00326.html#abc369436a122f92acd3afb79030cf06f">COL4_LETTER_C1</a></div><div class="ttdeci">#define COL4_LETTER_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00078">softkbd.h:78</a></div></div>
<div class="ttc" id="aa00368_html_aa34ad068f66bb32c91a2f17417766b83"><div class="ttname"><a href="a00368.html#aa34ad068f66bb32c91a2f17417766b83">VK_OEM_MINUS</a></div><div class="ttdeci">#define VK_OEM_MINUS</div><div class="ttdef"><b>Definition:</b> <a href="a00368_source.html#l00058">vkoem.h:58</a></div></div>
<div class="ttc" id="aa00317_html_ae5eb929d066799bfe6b571a2e4d30d08"><div class="ttname"><a href="a00317.html#ae5eb929d066799bfe6b571a2e4d30d08">ENTER_BMP</a></div><div class="ttdeci">#define ENTER_BMP</div><div class="ttdef"><b>Definition:</b> <a href="a00317_source.html#l00019">sftkbdc1.c:19</a></div></div>
<div class="ttc" id="aa00326_html_a2ed485495b16ac5b969bbd935f52cdf4"><div class="ttname"><a href="a00326.html#a2ed485495b16ac5b969bbd935f52cdf4">FLAG_DRAG_C1</a></div><div class="ttdeci">#define FLAG_DRAG_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00151">softkbd.h:151</a></div></div>
<div class="ttc" id="aa00326_html_a68dbd84550bd603ed9c9d5507f96f276"><div class="ttname"><a href="a00326.html#a68dbd84550bd603ed9c9d5507f96f276">W_LETTER_BTN_C1</a></div><div class="ttdeci">#define W_LETTER_BTN_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00083">softkbd.h:83</a></div></div>
<div class="ttc" id="aa00326_html_a36c09a7415e784c8458f8ddc03dada18"><div class="ttname"><a href="a00326.html#a36c09a7415e784c8458f8ddc03dada18">X_ROW4_LETTER_C1</a></div><div class="ttdeci">#define X_ROW4_LETTER_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00113">softkbd.h:113</a></div></div>
<div class="ttc" id="aa00326_html_aede07e950eeb27bdb9cfd0e4bcb8bbcb"><div class="ttname"><a href="a00326.html#aede07e950eeb27bdb9cfd0e4bcb8bbcb">COL3_LETTER_C1</a></div><div class="ttdeci">#define COL3_LETTER_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00077">softkbd.h:77</a></div></div>
<div class="ttc" id="aa00326_html_ac0a31b9296dbac9c297ce3de8cb20415"><div class="ttname"><a href="a00326.html#ac0a31b9296dbac9c297ce3de8cb20415">H_CAPS_C1</a></div><div class="ttdeci">#define H_CAPS_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00096">softkbd.h:96</a></div></div>
<div class="ttc" id="aa00317_html_a1e4f44ac47f032b3e91c9db3138de24d"><div class="ttname"><a href="a00317.html#a1e4f44ac47f032b3e91c9db3138de24d">SKC1DrawLabel</a></div><div class="ttdeci">VOID SKC1DrawLabel(HDC hDC, LPWSTR lpszLabel)</div><div class="ttdef"><b>Definition:</b> <a href="a00317_source.html#l00250">sftkbdc1.c:250</a></div></div>
<div class="ttc" id="aa00326_html_a89fffd5c22e88300c95c7ba012514a07"><div class="ttname"><a href="a00326.html#a89fffd5c22e88300c95c7ba012514a07">W_INS_C1</a></div><div class="ttdeci">#define W_INS_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00101">softkbd.h:101</a></div></div>
<div class="ttc" id="aa00326_html_aac799a057e468d7296192abd011c14d0"><div class="ttname"><a href="a00326.html#aac799a057e468d7296192abd011c14d0">H_TAB_C1</a></div><div class="ttdeci">#define H_TAB_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00094">softkbd.h:94</a></div></div>
<div class="ttc" id="aa00326_html_ab79f99f405e056eb99e820fc7a1f7225"><div class="ttname"><a href="a00326.html#ab79f99f405e056eb99e820fc7a1f7225">X_LABEL_C1</a></div><div class="ttdeci">#define X_LABEL_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00139">softkbd.h:139</a></div></div>
<div class="ttc" id="aa00368_html_a56932ac9f592d0960ae4c723c4a3d35c"><div class="ttname"><a href="a00368.html#a56932ac9f592d0960ae4c723c4a3d35c">VK_OEM_PERIOD</a></div><div class="ttdeci">#define VK_OEM_PERIOD</div><div class="ttdef"><b>Definition:</b> <a href="a00368_source.html#l00059">vkoem.h:59</a></div></div>
<div class="ttc" id="aa00326_html_afd5f4ea918f42cad8badecec8417d081"><div class="ttname"><a href="a00326.html#afd5f4ea918f42cad8badecec8417d081">X_DEL_C1</a></div><div class="ttdeci">#define X_DEL_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00114">softkbd.h:114</a></div></div>
<div class="ttc" id="aa00326_html_ab74c3012dc2d55efc7ca964764cc6e68"><div class="ttname"><a href="a00326.html#ab74c3012dc2d55efc7ca964764cc6e68">W_CAPS_C1</a></div><div class="ttdeci">#define W_CAPS_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00095">softkbd.h:95</a></div></div>
<div class="ttc" id="aa00326_html_a869787d398f23fd734157a4925d414a0"><div class="ttname"><a href="a00326.html#a869787d398f23fd734157a4925d414a0">X_ESC_C1</a></div><div class="ttdeci">#define X_ESC_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00115">softkbd.h:115</a></div></div>
<div class="ttc" id="aa00317_html_a99e47ab08f9b70f90043dd2f35996599"><div class="ttname"><a href="a00317.html#a99e47ab08f9b70f90043dd2f35996599">CAPS_BMP</a></div><div class="ttdeci">#define CAPS_BMP</div><div class="ttdef"><b>Definition:</b> <a href="a00317_source.html#l00018">sftkbdc1.c:18</a></div></div>
<div class="ttc" id="aa00026_html_a4d54aeecb59d707aa9ef66e7ecb702fd"><div class="ttname"><a href="a00026.html#a4d54aeecb59d707aa9ef66e7ecb702fd">ReleaseCapture</a></div><div class="ttdeci">BOOL ReleaseCapture()</div><div class="ttdef"><b>Definition:</b> <a href="a00026_source.html#l02875">client.c:2875</a></div></div>
<div class="ttc" id="aa03254_html_a10bde0fee9a1b44eafd17dfae0807a12"><div class="ttname"><a href="a03254.html#a10bde0fee9a1b44eafd17dfae0807a12">ghInst</a></div><div class="ttdeci">HINSTANCE ghInst</div><div class="ttdef"><b>Definition:</b> <a href="a03254_source.html#l00014">imm/globals.c:14</a></div></div>
<div class="ttc" id="aa00326_html_acc9a7ccd4cfe89cf46f2d7d394835bb2"><div class="ttname"><a href="a00326.html#acc9a7ccd4cfe89cf46f2d7d394835bb2">Y_LABEL_C1</a></div><div class="ttdeci">#define Y_LABEL_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00140">softkbd.h:140</a></div></div>
<div class="ttc" id="aa00317_html_a60a2fca89736bbe4810a08e2ca5f1667"><div class="ttname"><a href="a00317.html#a60a2fca89736bbe4810a08e2ca5f1667">SHIFT_BMP</a></div><div class="ttdeci">#define SHIFT_BMP</div><div class="ttdef"><b>Definition:</b> <a href="a00317_source.html#l00020">sftkbdc1.c:20</a></div></div>
<div class="ttc" id="aa00026_html_ae35231899b6d8b4a5e8d23b23b458104"><div class="ttname"><a href="a00026.html#ae35231899b6d8b4a5e8d23b23b458104">ReleaseDC</a></div><div class="ttdeci">BOOL WINAPI ReleaseDC(HWND hwnd, HDC hdc)</div><div class="ttdef"><b>Definition:</b> <a href="a00026_source.html#l00885">client.c:885</a></div></div>
<div class="ttc" id="aa00317_html_a2db52f1ea0525600d67bce674b83523e"><div class="ttname"><a href="a00317.html#a2db52f1ea0525600d67bce674b83523e">LABEL_BMP</a></div><div class="ttdeci">#define LABEL_BMP</div><div class="ttdef"><b>Definition:</b> <a href="a00317_source.html#l00024">sftkbdc1.c:24</a></div></div>
<div class="ttc" id="aa03743_html_acf929a1d55d4b36c6357b351ff3528f1"><div class="ttname"><a href="a03743.html#acf929a1d55d4b36c6357b351ff3528f1">ScreenToClient</a></div><div class="ttdeci">BOOL ScreenToClient(HWND hwnd, LPPOINT ppoint)</div><div class="ttdef"><b>Definition:</b> <a href="a03743_source.html#l00784">client/wow.c:784</a></div></div>
<div class="ttc" id="aa00326_html_aace729b490a4a876d4cfb1f0a31aef87"><div class="ttname"><a href="a00326.html#aace729b490a4a876d4cfb1f0a31aef87">W_ENTER_C1</a></div><div class="ttdeci">#define W_ENTER_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00097">softkbd.h:97</a></div></div>
<div class="ttc" id="aa00326_html_a4bc23928c8a2d5465ac8bf4829e5c838"><div class="ttname"><a href="a00326.html#a4bc23928c8a2d5465ac8bf4829e5c838">FLAG_SHIFT_C1</a></div><div class="ttdeci">#define FLAG_SHIFT_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00150">softkbd.h:150</a></div></div>
<div class="ttc" id="aa01989_html_a2a81d7b491fb3bd4c752c494a9d870de"><div class="ttname"><a href="a01989.html#a2a81d7b491fb3bd4c752c494a9d870de">_tagSKC1CTXT::lfCharSet</a></div><div class="ttdeci">UINT lfCharSet</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00163">softkbd.h:163</a></div></div>
<div class="ttc" id="aa00317_html_a2cd6e519efe87dd6ec991185300d4c64"><div class="ttname"><a href="a00317.html#a2cd6e519efe87dd6ec991185300d4c64">SKC1InvertButton</a></div><div class="ttdeci">VOID SKC1InvertButton(HDC hDC, int uKeyIndex)</div><div class="ttdef"><b>Definition:</b> <a href="a00317_source.html#l00157">sftkbdc1.c:157</a></div></div>
<div class="ttc" id="aa00326_html_af9d4e80dbaad989ffe11a6db6c15a081"><div class="ttname"><a href="a00326.html#af9d4e80dbaad989ffe11a6db6c15a081">SHIFT_TYPE_C1</a></div><div class="ttdeci">#define SHIFT_TYPE_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00129">softkbd.h:129</a></div></div>
<div class="ttc" id="aa03743_html_a45668f73deb77bee5ef8243d47024212"><div class="ttname"><a href="a03743.html#a45668f73deb77bee5ef8243d47024212">GetClientRect</a></div><div class="ttdeci">BOOL GetClientRect(HWND hwnd, LPRECT prect)</div><div class="ttdef"><b>Definition:</b> <a href="a03743_source.html#l00731">client/wow.c:731</a></div></div>
<div class="ttc" id="aa00326_html_a4adf41b07bfcfa2b8e34a8ec2cae0a69"><div class="ttname"><a href="a00326.html#a4adf41b07bfcfa2b8e34a8ec2cae0a69">W_TAB_C1</a></div><div class="ttdeci">#define W_TAB_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00093">softkbd.h:93</a></div></div>
<div class="ttc" id="aa00317_html_abf0fa3176e4d8fa6ca9873c4f3ef75c4"><div class="ttname"><a href="a00317.html#abf0fa3176e4d8fa6ca9873c4f3ef75c4">CreateC1Window</a></div><div class="ttdeci">LRESULT CreateC1Window(HWND hSKWnd)</div><div class="ttdef"><b>Definition:</b> <a href="a00317_source.html#l00352">sftkbdc1.c:352</a></div></div>
<div class="ttc" id="aa01989_html_a41ab4504400fe8702ae95ed0a4dec8a5"><div class="ttname"><a href="a01989.html#a41ab4504400fe8702ae95ed0a4dec8a5">_tagSKC1CTXT::uKeyIndex</a></div><div class="ttdeci">int uKeyIndex</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00160">softkbd.h:160</a></div></div>
<div class="ttc" id="aa00317_html_aeedd744cca271941363fd1c86033a527"><div class="ttname"><a href="a00317.html#aeedd744cca271941363fd1c86033a527">UpdateSKC1Window</a></div><div class="ttdeci">BOOL UpdateSKC1Window(HWND hSKWnd, LPSOFTKBDDATA lpSoftKbdData)</div><div class="ttdef"><b>Definition:</b> <a href="a00317_source.html#l00499">sftkbdc1.c:499</a></div></div>
<div class="ttc" id="aa00326_html_ad9c4914971307081724c1e4ce4ebf779"><div class="ttname"><a href="a00326.html#ad9c4914971307081724c1e4ce4ebf779">W_ESC_C1</a></div><div class="ttdeci">#define W_ESC_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00107">softkbd.h:107</a></div></div>
<div class="ttc" id="aa00326_html_ab500d2734b8ecfa1afd8c5adc42e27ba"><div class="ttname"><a href="a00326.html#ab500d2734b8ecfa1afd8c5adc42e27ba">H_BOTTOM_BTN_C1</a></div><div class="ttdeci">#define H_BOTTOM_BTN_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00087">softkbd.h:87</a></div></div>
<div class="ttc" id="aa00317_html_a6e0bf1f4c79f156def43154167f6cf1e"><div class="ttname"><a href="a00317.html#a6e0bf1f4c79f156def43154167f6cf1e">ShowSKC1Window</a></div><div class="ttdeci">VOID ShowSKC1Window(HDC hDC, HWND hSKWnd)</div><div class="ttdef"><b>Definition:</b> <a href="a00317_source.html#l00459">sftkbdc1.c:459</a></div></div>
<div class="ttc" id="aa00326_html_a7a27d0b80822719f4fa02100748d5f5f"><div class="ttname"><a href="a00326.html#a7a27d0b80822719f4fa02100748d5f5f">SIZELABEL_C1</a></div><div class="ttdeci">#define SIZELABEL_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00137">softkbd.h:137</a></div></div>
<div class="ttc" id="aa00326_html_aacb45705c7d03d36720887cd7bb0d03c"><div class="ttname"><a href="a00326.html#aacb45705c7d03d36720887cd7bb0d03c">FLAG_FOCUS_C1</a></div><div class="ttdeci">#define FLAG_FOCUS_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00152">softkbd.h:152</a></div></div>
<div class="ttc" id="aa00317_html_a324c96b69ecd47db7e05a3dd6b3600b2"><div class="ttname"><a href="a00317.html#a324c96b69ecd47db7e05a3dd6b3600b2">InitSKC1Bitmap</a></div><div class="ttdeci">VOID InitSKC1Bitmap(HDC hDC, RECT rcClient)</div><div class="ttdef"><b>Definition:</b> <a href="a00317_source.html#l00279">sftkbdc1.c:279</a></div></div>
<div class="ttc" id="aa00326_html_a65b086e9249b71063784c2116fe9c39d"><div class="ttname"><a href="a00326.html#a65b086e9249b71063784c2116fe9c39d">SPACE_TYPE_C1</a></div><div class="ttdeci">#define SPACE_TYPE_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00132">softkbd.h:132</a></div></div>
<div class="ttc" id="aa00326_html_aa5e87e53d55935b0ea0819b9bd143e2f"><div class="ttname"><a href="a00326.html#aa5e87e53d55935b0ea0819b9bd143e2f">DEL_TYPE_C1</a></div><div class="ttdeci">#define DEL_TYPE_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00131">softkbd.h:131</a></div></div>
<div class="ttc" id="aa03743_html_a54232da986f655323b318301d691642e"><div class="ttname"><a href="a03743.html#a54232da986f655323b318301d691642e">GetSystemMetrics</a></div><div class="ttdeci">int GetSystemMetrics(int index)</div><div class="ttdef"><b>Definition:</b> <a href="a03743_source.html#l00544">client/wow.c:544</a></div></div>
<div class="ttc" id="aa00326_html_ae63d887af6607aaf29439fb77ab6b1cb"><div class="ttname"><a href="a00326.html#ae63d887af6607aaf29439fb77ab6b1cb">CAPS_TYPE_C1</a></div><div class="ttdeci">#define CAPS_TYPE_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00127">softkbd.h:127</a></div></div>
<div class="ttc" id="aa01989_html_a8751aa78ac37131162ff3b8aaac48ec7"><div class="ttname"><a href="a01989.html#a8751aa78ac37131162ff3b8aaac48ec7">_tagSKC1CTXT::ptSkCursor</a></div><div class="ttdeci">POINT ptSkCursor</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00161">softkbd.h:161</a></div></div>
<div class="ttc" id="aa00326_html_a85a16b3f7e6c447066771370f2062e58"><div class="ttname"><a href="a00326.html#a85a16b3f7e6c447066771370f2062e58">Y_NONSHIFT_CHAR_C1</a></div><div class="ttdeci">#define Y_NONSHIFT_CHAR_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00144">softkbd.h:144</a></div></div>
<div class="ttc" id="aa01989_html_a2e2db58916ba069b37aa1841f17899fd"><div class="ttname"><a href="a01989.html#a2e2db58916ba069b37aa1841f17899fd">_tagSKC1CTXT::uState</a></div><div class="ttdeci">UINT uState</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00157">softkbd.h:157</a></div></div>
<div class="ttc" id="aa00326_html_addba81f8ef915a51899a9538162129b4"><div class="ttname"><a href="a00326.html#addba81f8ef915a51899a9538162129b4">H_BACKSP_C1</a></div><div class="ttdeci">#define H_BACKSP_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00092">softkbd.h:92</a></div></div>
<div class="ttc" id="aa00311_html_a93ced286ed15ec806746defb9a3ed34d"><div class="ttname"><a href="a00311.html#a93ced286ed15ec806746defb9a3ed34d">ImmLockIMC</a></div><div class="ttdeci">PINPUTCONTEXT WINAPI ImmLockIMC(HIMC hImc)</div><div class="ttdef"><b>Definition:</b> <a href="a00311_source.html#l00243">misc.c:243</a></div></div>
<div class="ttc" id="aa00317_html_a69dff57edf1b5c8e33c21e2c65fe21d6"><div class="ttname"><a href="a00317.html#a69dff57edf1b5c8e33c21e2c65fe21d6">SKC1MousePosition</a></div><div class="ttdeci">INT SKC1MousePosition(LPPOINT lpptCursor)</div><div class="ttdef"><b>Definition:</b> <a href="a00317_source.html#l00680">sftkbdc1.c:680</a></div></div>
<div class="ttc" id="aa00317_html_ab9b2b7d016a96a84df6484587b3b9c2b"><div class="ttname"><a href="a00317.html#ab9b2b7d016a96a84df6484587b3b9c2b">SKC1ButtonUp</a></div><div class="ttdeci">BOOL SKC1ButtonUp(HWND hSKWnd, WPARAM wParam, LPARAM lParam)</div><div class="ttdef"><b>Definition:</b> <a href="a00317_source.html#l00981">sftkbdc1.c:981</a></div></div>
<div class="ttc" id="aa00563_html_a074685e97e89d6aa2accdfcb82328699"><div class="ttname"><a href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a></div><div class="ttdeci">ddeml v[i&lt; inst &gt;][t&lt; type &gt;][hObj|pObj] Dump DDEML state information ddeml lists all ddeml instances for this process n ddeml t&lt; type &gt; lists all ddeml objects of the given type n n assumes link is first DWORD</div><div class="ttdef"><b>Definition:</b> <a href="a00563_source.html#l00175">exts.h:175</a></div></div>
<div class="ttc" id="aa00326_html_aa73102692e4e7b6e743c0641054eb4fc"><div class="ttname"><a href="a00326.html#aa73102692e4e7b6e743c0641054eb4fc">H_SPACE_C1</a></div><div class="ttdeci">#define H_SPACE_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00106">softkbd.h:106</a></div></div>
<div class="ttc" id="aa03743_html_ad84a8a00b68bf3b49489de853f0578c9"><div class="ttname"><a href="a03743.html#ad84a8a00b68bf3b49489de853f0578c9">GetWindowRect</a></div><div class="ttdeci">BOOL GetWindowRect(HWND hwnd, LPRECT prect)</div><div class="ttdef"><b>Definition:</b> <a href="a03743_source.html#l00765">client/wow.c:765</a></div></div>
<div class="ttc" id="aa03743_html_a7d76f6fb4b57547b99e1a28df2e7a9ca"><div class="ttname"><a href="a03743.html#a7d76f6fb4b57547b99e1a28df2e7a9ca">GetCursorPos</a></div><div class="ttdeci">BOOL GetCursorPos(LPPOINT lpPoint)</div><div class="ttdef"><b>Definition:</b> <a href="a03743_source.html#l00746">client/wow.c:746</a></div></div>
<div class="ttc" id="aa00326_html_a13302a0e66c4a147612ac4152bbe0b59"><div class="ttname"><a href="a00326.html#a13302a0e66c4a147612ac4152bbe0b59">H_ENTER_C1</a></div><div class="ttdeci">#define H_ENTER_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00098">softkbd.h:98</a></div></div>
<div class="ttc" id="aa00026_html_a3cb22926bc104cab20cbb79f96e7ab7a"><div class="ttname"><a href="a00026.html#a3cb22926bc104cab20cbb79f96e7ab7a">MessageBeep</a></div><div class="ttdeci">BOOL MessageBeep(UINT wType)</div><div class="ttdef"><b>Definition:</b> <a href="a00026_source.html#l02722">client.c:2722</a></div></div>
<div class="ttc" id="aa00317_html_a7516c744598aeee45d0d4790a85dbdc8"><div class="ttname"><a href="a00317.html#a7516c744598aeee45d0d4790a85dbdc8">DestroyC1Window</a></div><div class="ttdeci">VOID DestroyC1Window(HWND hSKWnd)</div><div class="ttdef"><b>Definition:</b> <a href="a00317_source.html#l00420">sftkbdc1.c:420</a></div></div>
<div class="ttc" id="aa00326_html_ab360f9b70b602f3271c0ec89eeac66fa"><div class="ttname"><a href="a00326.html#ab360f9b70b602f3271c0ec89eeac66fa">BORDER_C1</a></div><div class="ttdeci">#define BORDER_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00082">softkbd.h:82</a></div></div>
<div class="ttc" id="aa00326_html_abe7e961afaf41d1687e84486513f2dc9"><div class="ttname"><a href="a00326.html#abe7e961afaf41d1687e84486513f2dc9">COL2_LETTER_C1</a></div><div class="ttdeci">#define COL2_LETTER_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00076">softkbd.h:76</a></div></div>
<div class="ttc" id="aa00317_html_afeece006936ac6045b9fbf85f4ebc47f"><div class="ttname"><a href="a00317.html#afeece006936ac6045b9fbf85f4ebc47f">DEL_BMP</a></div><div class="ttdeci">#define DEL_BMP</div><div class="ttdef"><b>Definition:</b> <a href="a00317_source.html#l00022">sftkbdc1.c:22</a></div></div>
<div class="ttc" id="aa00326_html_ae4e6ad299e679faf36e694f2fc5f15f7"><div class="ttname"><a href="a00326.html#ae4e6ad299e679faf36e694f2fc5f15f7">H_INS_C1</a></div><div class="ttdeci">#define H_INS_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00102">softkbd.h:102</a></div></div>
<div class="ttc" id="aa00326_html_a333880ff4e81cfa97e98b413e989fa4c"><div class="ttname"><a href="a00326.html#a333880ff4e81cfa97e98b413e989fa4c">X_ROW2_LETTER_C1</a></div><div class="ttdeci">#define X_ROW2_LETTER_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00111">softkbd.h:111</a></div></div>
<div class="ttc" id="aa00326_html_ad725b632947c29595d586ff59f81117c"><div class="ttname"><a href="a00326.html#ad725b632947c29595d586ff59f81117c">ESC_TYPE_C1</a></div><div class="ttdeci">#define ESC_TYPE_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00133">softkbd.h:133</a></div></div>
<div class="ttc" id="aa00326_html_ad0b84cf80eaccf1bc091ec9de40257b0"><div class="ttname"><a href="a00326.html#ad0b84cf80eaccf1bc091ec9de40257b0">X_NONSHIFT_CHAR_C1</a></div><div class="ttdeci">#define X_NONSHIFT_CHAR_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00143">softkbd.h:143</a></div></div>
<div class="ttc" id="aa00326_html_a2237dad207242748418b9091a6d576d6"><div class="ttname"><a href="a00326.html#a2237dad207242748418b9091a6d576d6">Y_SHIFT_CHAR_C1</a></div><div class="ttdeci">#define Y_SHIFT_CHAR_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00142">softkbd.h:142</a></div></div>
<div class="ttc" id="aa00326_html_a73dac7d477e952462a0eca040c5a11db"><div class="ttname"><a href="a00326.html#a73dac7d477e952462a0eca040c5a11db">BACKSP_TYPE_C1</a></div><div class="ttdeci">#define BACKSP_TYPE_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00125">softkbd.h:125</a></div></div>
<div class="ttc" id="aa00317_html_a65a756694c3b4f9cf62274909e10c320"><div class="ttname"><a href="a00317.html#a65a756694c3b4f9cf62274909e10c320">gfInit</a></div><div class="ttdeci">BOOL gfInit</div><div class="ttdef"><b>Definition:</b> <a href="a00317_source.html#l00037">sftkbdc1.c:37</a></div></div>
<div class="ttc" id="aa00317_html_a9dba611529a7f969cd0223fe2e378b40"><div class="ttname"><a href="a00317.html#a9dba611529a7f969cd0223fe2e378b40">SKC1SetCursor</a></div><div class="ttdeci">BOOL SKC1SetCursor(HWND hSKWnd, LPARAM lParam)</div><div class="ttdef"><b>Definition:</b> <a href="a00317_source.html#l00853">sftkbdc1.c:853</a></div></div>
<div class="ttc" id="aa00326_html_a3cded5d48ac89b9d8dcefdd304083a96"><div class="ttname"><a href="a00326.html#a3cded5d48ac89b9d8dcefdd304083a96">X_ROW_LETTER_C1</a></div><div class="ttdeci">#define X_ROW_LETTER_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00110">softkbd.h:110</a></div></div>
<div class="ttc" id="aa00326_html_a34e1e797c22aadca2b3a0096f38c700b"><div class="ttname"><a href="a00326.html#a34e1e797c22aadca2b3a0096f38c700b">COL_LETTER_C1</a></div><div class="ttdeci">#define COL_LETTER_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00075">softkbd.h:75</a></div></div>
<div class="ttc" id="aa00317_html_a765ff7b44dcaa170f5d1ad8800ea525f"><div class="ttname"><a href="a00317.html#a765ff7b44dcaa170f5d1ad8800ea525f">SKC1DrawDragBorder</a></div><div class="ttdeci">VOID SKC1DrawDragBorder(HWND hWnd, LPPOINT lpptCursor, LPPOINT lpptOffset)</div><div class="ttdef"><b>Definition:</b> <a href="a00317_source.html#l00613">sftkbdc1.c:613</a></div></div>
<div class="ttc" id="aa00326_html_ae1373879262ab41a35d20c2e9a05be93"><div class="ttname"><a href="a00326.html#ae1373879262ab41a35d20c2e9a05be93">SKC1_CONTEXT</a></div><div class="ttdeci">#define SKC1_CONTEXT</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00148">softkbd.h:148</a></div></div>
<div class="ttc" id="aa00317_html_ada1e88a7d9cd772a74bbee49712f456d"><div class="ttname"><a href="a00317.html#ada1e88a7d9cd772a74bbee49712f456d">SKC1ButtonDown</a></div><div class="ttdeci">VOID SKC1ButtonDown(HWND hSKWnd, PSKC1CTXT pSKC1Ctxt)</div><div class="ttdef"><b>Definition:</b> <a href="a00317_source.html#l00786">sftkbdc1.c:786</a></div></div>
<div class="ttc" id="aa01989_html_ab41c01b84fdee7e98bdc3f7355f2c0e3"><div class="ttname"><a href="a01989.html#ab41c01b84fdee7e98bdc3f7355f2c0e3">_tagSKC1CTXT::uSubtype</a></div><div class="ttdeci">UINT uSubtype</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00159">softkbd.h:159</a></div></div>
<div class="ttc" id="aa00326_html_a9038a2d9da4adb14c0a48c739704b372"><div class="ttname"><a href="a00326.html#a9038a2d9da4adb14c0a48c739704b372">W_DEL_C1</a></div><div class="ttdeci">#define W_DEL_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00103">softkbd.h:103</a></div></div>
<div class="ttc" id="aa00326_html_a440a5d5f45262a6e01c296aacbc72fcd"><div class="ttname"><a href="a00326.html#a440a5d5f45262a6e01c296aacbc72fcd">PSKC1CTXT</a></div><div class="ttdeci">struct _tagSKC1CTXT * PSKC1CTXT</div></div>
<div class="ttc" id="aa00326_html_adab3e238171f9b98d6ca17061979d4b6"><div class="ttname"><a href="a00326.html#adab3e238171f9b98d6ca17061979d4b6">W_SPACE_C1</a></div><div class="ttdeci">#define W_SPACE_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00105">softkbd.h:105</a></div></div>
<div class="ttc" id="aa00317_html_a112d17e443be80ce091d2ab4ae00f3d8"><div class="ttname"><a href="a00317.html#a112d17e443be80ce091d2ab4ae00f3d8">gptButtonPos</a></div><div class="ttdeci">POINT gptButtonPos[BUTTON_NUM_C1]</div><div class="ttdef"><b>Definition:</b> <a href="a00317_source.html#l00036">sftkbdc1.c:36</a></div></div>
<div class="ttc" id="aa03743_html_a72ab23f7e5d7d08157db573dc8666aff"><div class="ttname"><a href="a03743.html#a72ab23f7e5d7d08157db573dc8666aff">GetWindow</a></div><div class="ttdeci">HWND GetWindow(HWND hwnd, UINT wCmd)</div><div class="ttdef"><b>Definition:</b> <a href="a03743_source.html#l00466">client/wow.c:466</a></div></div>
<div class="ttc" id="aa03254_html_a2787410490163e996564a3c2f7cc2c35"><div class="ttname"><a href="a03254.html#a2787410490163e996564a3c2f7cc2c35">gszHandCursor</a></div><div class="ttdeci">WCHAR gszHandCursor[]</div><div class="ttdef"><b>Definition:</b> <a href="a03254_source.html#l00026">imm/globals.c:26</a></div></div>
<div class="ttc" id="aa03608_html_afd1a0e78d1f88954d93e48ab3821781f"><div class="ttname"><a href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a></div><div class="ttdeci">typedef UINT(FAR WINAPI *MSGSOUNDPROC)()</div></div>
<div class="ttc" id="aa00326_html_a009f25f0d786dbca452a7850f1144ab3"><div class="ttname"><a href="a00326.html#a009f25f0d786dbca452a7850f1144ab3">INS_TYPE_C1</a></div><div class="ttdeci">#define INS_TYPE_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00130">softkbd.h:130</a></div></div>
<div class="ttc" id="aa00317_html_ac81cf3a0ae8e54175ae79d170fda5d15"><div class="ttname"><a href="a00317.html#ac81cf3a0ae8e54175ae79d170fda5d15">ESC_BMP</a></div><div class="ttdeci">#define ESC_BMP</div><div class="ttdef"><b>Definition:</b> <a href="a00317_source.html#l00023">sftkbdc1.c:23</a></div></div>
<div class="ttc" id="aa00326_html_adefecae28b1b29641db21a45d993af7d"><div class="ttname"><a href="a00326.html#adefecae28b1b29641db21a45d993af7d">LETTER_NUM_C1</a></div><div class="ttdeci">#define LETTER_NUM_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00117">softkbd.h:117</a></div></div>
<div class="ttc" id="aa00317_html_aa5e006e36ac3a8a9f77f5d16709b3d51"><div class="ttname"><a href="a00317.html#aa5e006e36ac3a8a9f77f5d16709b3d51">SKC1VirtKey</a></div><div class="ttdeci">BYTE SKC1VirtKey[BUTTON_NUM_C1]</div><div class="ttdef"><b>Definition:</b> <a href="a00317_source.html#l00027">sftkbdc1.c:27</a></div></div>
<div class="ttc" id="aa00326_html_a84b4293626673287a7adb3aa28131e0e"><div class="ttname"><a href="a00326.html#a84b4293626673287a7adb3aa28131e0e">H_ESC_C1</a></div><div class="ttdeci">#define H_ESC_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00108">softkbd.h:108</a></div></div>
<div class="ttc" id="aa00326_html_aba8d2b8046853768172d20780461ec80"><div class="ttname"><a href="a00326.html#aba8d2b8046853768172d20780461ec80">W_BACKSP_C1</a></div><div class="ttdeci">#define W_BACKSP_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00091">softkbd.h:91</a></div></div>
<div class="ttc" id="aa00326_html_a5ad2523dd56ebded766e8bfc421b6b1c"><div class="ttname"><a href="a00326.html#a5ad2523dd56ebded766e8bfc421b6b1c">ENTER_TYPE_C1</a></div><div class="ttdeci">#define ENTER_TYPE_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00128">softkbd.h:128</a></div></div>
<div class="ttc" id="aa00317_html_abe3bc581a766cbb9f687bef72dacef16"><div class="ttname"><a href="a00317.html#abe3bc581a766cbb9f687bef72dacef16">SKC1MouseMove</a></div><div class="ttdeci">BOOL SKC1MouseMove(HWND hSKWnd, WPARAM wParam, LPARAM lParam)</div><div class="ttdef"><b>Definition:</b> <a href="a00317_source.html#l00914">sftkbdc1.c:914</a></div></div>
<div class="ttc" id="aa01989_html"><div class="ttname"><a href="a01989.html">_tagSKC1CTXT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00154">softkbd.h:154</a></div></div>
<div class="ttc" id="aa01989_html_ad3f03c31eccbe1588a4a42c3042c873b"><div class="ttname"><a href="a01989.html#ad3f03c31eccbe1588a4a42c3042c873b">_tagSKC1CTXT::hSoftkbd</a></div><div class="ttdeci">HBITMAP hSoftkbd</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00158">softkbd.h:158</a></div></div>
<div class="ttc" id="aa00368_html_aed7884866634155375a93669a3442a82"><div class="ttname"><a href="a00368.html#aed7884866634155375a93669a3442a82">VK_OEM_3</a></div><div class="ttdeci">#define VK_OEM_3</div><div class="ttdef"><b>Definition:</b> <a href="a00368_source.html#l00061">vkoem.h:61</a></div></div>
<div class="ttc" id="aa00326_html_a385c3e89e083b2932e4d0cf7a4480688"><div class="ttname"><a href="a00326.html#a385c3e89e083b2932e4d0cf7a4480688">SIZEFONT_C1</a></div><div class="ttdeci">#define SIZEFONT_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00136">softkbd.h:136</a></div></div>
<div class="ttc" id="aa00326_html_a74ec5ff34033135c42c613ea92033798"><div class="ttname"><a href="a00326.html#a74ec5ff34033135c42c613ea92033798">W_SHIFT_C1</a></div><div class="ttdeci">#define W_SHIFT_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00099">softkbd.h:99</a></div></div>
<div class="ttc" id="aa00317_html_abaa93a2ac16d58d8a1d0625d29dbc999"><div class="ttname"><a href="a00317.html#abaa93a2ac16d58d8a1d0625d29dbc999">TAB_BMP</a></div><div class="ttdeci">#define TAB_BMP</div><div class="ttdef"><b>Definition:</b> <a href="a00317_source.html#l00017">sftkbdc1.c:17</a></div></div>
<div class="ttc" id="aa00317_html_a02c6899d361cf1e7ac61d4854a56db79"><div class="ttname"><a href="a00317.html#a02c6899d361cf1e7ac61d4854a56db79">InitSKC1ButtonPos</a></div><div class="ttdeci">VOID InitSKC1ButtonPos()</div><div class="ttdef"><b>Definition:</b> <a href="a00317_source.html#l00043">sftkbdc1.c:43</a></div></div>
<div class="ttc" id="aa00311_html_a5d94d0239203482be832b9a8e6f67754"><div class="ttname"><a href="a00311.html#a5d94d0239203482be832b9a8e6f67754">ImmUnlockIMC</a></div><div class="ttdeci">BOOL WINAPI ImmUnlockIMC(HIMC hImc)</div><div class="ttdef"><b>Definition:</b> <a href="a00311_source.html#l00302">misc.c:302</a></div></div>
<div class="ttc" id="aa01989_html_a6ab33e87d8d3bc2ca07fa06cc1363968"><div class="ttname"><a href="a01989.html#a6ab33e87d8d3bc2ca07fa06cc1363968">_tagSKC1CTXT::wNonShiftCode</a></div><div class="ttdeci">WORD wNonShiftCode[LETTER_NUM_C1]</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00156">softkbd.h:156</a></div></div>
<div class="ttc" id="aa00326_html_a8d06392fc0478d449cac710f09446f9c"><div class="ttname"><a href="a00326.html#a8d06392fc0478d449cac710f09446f9c">H_DEL_C1</a></div><div class="ttdeci">#define H_DEL_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00104">softkbd.h:104</a></div></div>
<div class="ttc" id="aa00326_html_ae52f945b0c01d49c4336cb5e5a8874d4"><div class="ttname"><a href="a00326.html#ae52f945b0c01d49c4336cb5e5a8874d4">X_SHIFT_CHAR_C1</a></div><div class="ttdeci">#define X_SHIFT_CHAR_C1</div><div class="ttdef"><b>Definition:</b> <a href="a00326_source.html#l00141">softkbd.h:141</a></div></div>
<div class="ttc" id="aa00317_html_a9b25049792b93cc458c3c451fa6a32db"><div class="ttname"><a href="a00317.html#a9b25049792b93cc458c3c451fa6a32db">SKC1DrawBitmap</a></div><div class="ttdeci">VOID SKC1DrawBitmap(HDC hDC, int x, int y, int nWidth, int nHeight, LPWSTR lpszBitmap)</div><div class="ttdef"><b>Definition:</b> <a href="a00317_source.html#l00221">sftkbdc1.c:221</a></div></div>
<div class="ttc" id="aa00317_html_aad614fab6483568c6d38d6dcd156fc07"><div class="ttname"><a href="a00317.html#aad614fab6483568c6d38d6dcd156fc07">SKC1DrawConvexRect</a></div><div class="ttdeci">VOID SKC1DrawConvexRect(HDC hDC, int x, int y, int nWidth, int nHeight)</div><div class="ttdef"><b>Definition:</b> <a href="a00317_source.html#l00127">sftkbdc1.c:127</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_885cc87fac2d91e269af0a5a959fa5f6.html">E:</a></li><li class="navelem"><a class="el" href="dir_4e091ed8704426a7a4980368ba259fde.html">git</a></li><li class="navelem"><a class="el" href="dir_cd70cb5eb491250157f2d55d3ff4b13e.html">backup</a></li><li class="navelem"><a class="el" href="dir_ba2b673b566ba104b956abdc6dec0552.html">org</a></li><li class="navelem"><a class="el" href="dir_5bb0003d7907b45051943541418399f5.html">ntuser</a></li><li class="navelem"><a class="el" href="dir_47153d622fb9b44b5267fed192e6cede.html">imm</a></li><li class="navelem"><a class="el" href="a00317.html">sftkbdc1.c</a></li>
    <li class="footer">制作者
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
